Skip to content

Commit

Permalink
Changes GSL test to use positive x for sf_hyperg_U
Browse files Browse the repository at this point in the history
Fix #15
  • Loading branch information
jiahao committed Jul 17, 2014
1 parent 485fe16 commit 098fa9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GSL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ try
#Turn off GSL's default error handler so that Julia doesn't segfault on error
set_error_handler_off()
set_error_handler(custom_gsl_error_handler)
sf_hyperg_U(-1.0, -1.0, randn())
sf_hyperg_U(-1.0, -1.0, rand())
catch
error("The GNU Scientific Library does not appear to be installed.")
end
Expand Down
2 changes: 1 addition & 1 deletion test/basic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ end
@eval @sf_test sf_hyperg_1F1_int $s $t $x
@eval @sf_test sf_hyperg_1F1 $x $y $z
@eval @sf_test sf_hyperg_U_int $s $(min(t,2)) $xabs #TODO test e10
@eval @sf_test sf_hyperg_U $x $y $(abs(z)) #TODO test e10
@eval @sf_test sf_hyperg_U $xabs $y $(abs(z)) #TODO test e10
for sf in (
:sf_hyperg_2F1, :sf_hyperg_2F1_conj, :sf_hyperg_2F1_renorm,
:sf_hyperg_2F1_conj_renorm
Expand Down

0 comments on commit 098fa9c

Please sign in to comment.