Skip to content

Commit 550f51c

Browse files
BUG: Fix call to now nonexistent sf_error (#51)
1 parent f34a131 commit 550f51c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/xsf/cephes/hyperg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ namespace cephes {
270270

271271
while (t > MACHEP) {
272272
if (bn == 0) { /* check bn first since if both */
273-
sf_error("hyperg", SF_ERROR_SINGULAR, NULL);
273+
set_error("hyperg", SF_ERROR_SINGULAR, NULL);
274274
return (std::numeric_limits<double>::infinity()); /* an and bn are zero it is */
275275
}
276276
if (an == 0) /* a singularity */

0 commit comments

Comments
 (0)