Mercurial > octave
diff libinterp/corefcn/__isprimelarge__.cc @ 33250:40fde86be9b0
replace calls to error_* with corresponding panic_* functions in libinterp
Affected files: __isprimelarge__.cc, cellfun.cc, daspk.cc, dasrt.cc,
dassl.cc, data.cc, graphics.cc, kron.cc, mex.cc, oct-map.cc,
oct-stream.cc, pr-output.cc, schur.cc, variables.cc, and ops.h.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 25 Mar 2024 00:42:04 -0400 |
parents | 2e484f9f1f18 |
children | 4bb532314db1 |
line wrap: on
line diff
--- a/libinterp/corefcn/__isprimelarge__.cc Sun Mar 24 18:12:06 2024 -0400 +++ b/libinterp/corefcn/__isprimelarge__.cc Mon Mar 25 00:42:04 2024 -0400 @@ -242,7 +242,7 @@ if (g > 1) // found GCD ==> exit loop properly { - error_unless (n % g == 0); // theoretical possibility of GCD error + panic_unless (n % g == 0); // theoretical possibility of GCD error return g; } }