Skip to content

Commit

Permalink
Correct setting up detJ
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Mar 11, 2014
1 parent ec70c31 commit be33e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/CodeGen/Jacobian.m
Expand Up @@ -136,7 +136,7 @@
"if (use_jacobian && strlen(jacobian_determinant_group) > 0) GenericFD_GroupDataPointers(cctkGH, jacobian_determinant_group,\n",
" 1, jacobian_determinant_ptrs);\n",
"\n",
{"const CCTK_REAL* restrict const detJ CCTK_ATTRIBUTE_UNUSED = use_jacobian ? jacobian_ptrs[0] : 0;\n"},
{"const CCTK_REAL* restrict const detJ CCTK_ATTRIBUTE_UNUSED = use_jacobian ? jacobian_determinant_ptrs[0] : 0;\n"},
"\n",
"const CCTK_REAL* restrict jacobian_inverse_ptrs[9] CCTK_ATTRIBUTE_UNUSED;\n",
"if (use_jacobian && strlen(jacobian_inverse_group) > 0) GenericFD_GroupDataPointers(cctkGH, jacobian_inverse_group,\n",
Expand Down

0 comments on commit be33e3d

Please sign in to comment.