Mercurial > octave
diff libinterp/corefcn/data.cc @ 33382:79cfa1b7a813
replace nearly all remaining uses of panic_impossible with error
Affected files: data.cc, error.cc, find.cc, graphics.in.h, ls-hdf5.cc,
oct-hist.cc, oct-stream.cc, pr-output.cc, quad.cc, __init_fltk__.cc,
cdef-class.cc, cdef-utils.cc, ov.h, octave.cc, pt-anon-scopes.cc,
pt-array-list.cc, pt-assign.cc, pt-cmd.h, pt-eval.cc, pt-idx.cc,
pt-stmt.cc, pt-walk.cc, and Sparse.cc.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 12 Apr 2024 11:15:32 -0400 |
parents | fb44a9db1bc6 |
children | 5fded8395daa |
line wrap: on
line diff
--- a/libinterp/corefcn/data.cc Fri Apr 12 11:17:04 2024 -0400 +++ b/libinterp/corefcn/data.cc Fri Apr 12 11:15:32 2024 -0400 @@ -8274,7 +8274,7 @@ else if (array.is_uint64_type ()) retval = array.uint64_array_value ().diff (order, dim); else - panic_impossible (); + error ("diff: unexpected integer type - please report this bug"); } else if (array.issparse ()) { @@ -8544,7 +8544,7 @@ #undef MAKE_INT_BRANCH else - panic_impossible (); + error ("base_64_decode: unexpected integer type - please report this bug"); } else if (args(0).is_single_type ()) {