Skip to content

Commit

Permalink
near2far tests no longer require GSL
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jun 3, 2021
1 parent e241e4e commit 30d9016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/near2far.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ int main(int argc, char **argv) {

// NOTE: see hack above -- we require sources to be odd in Z and even in X or vice-versa
if (!check_2d_3d(D3, 4, a3d, Ez, Hx, false)) return 1;
#ifdef HAVE_LIBGSL
#if defined(HAVE_JN) || defined(HAVE_LIBGSL) // required for Hankel functions in 2d near2far
if (!check_2d_3d(D2, 8, a2d, Ez, Hx, false)) return 1;
if (!check_2d_3d(D2, 8, a2d, Ex, Hz, true)) return 1;
#endif
Expand Down

0 comments on commit 30d9016

Please sign in to comment.