Skip to content

Commit

Permalink
fixes u5
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Park authored and Mike Park committed Jun 22, 2021
1 parent a659fbc commit 697fcad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ref_acceptance.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ static REF_STATUS ref_acceptance_u(REF_NODE ref_node, const char *function_name,
x = ref_node_xyz(ref_node, 0, node);
y = ref_node_xyz(ref_node, 1, node);
z = ref_node_xyz(ref_node, 2, node);
if (strcmp(function_name, "5") == 0) {
if (strcmp(function_name, "u5") == 0) {
scalar[node] = 2.0 * pow(x, 2) + 2.0 * pow(y, 2) + 2.0 * pow(z, 2);
} else if (strcmp(function_name, "sin50xy") == 0) {
REF_DBL xy;
Expand Down

0 comments on commit 697fcad

Please sign in to comment.