Mercurial > octave
comparison libinterp/corefcn/dasrt.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 | c714266d9f0d |
comparison
equal
deleted
inserted
replaced
33249:06a308cae32c | 33250:40fde86be9b0 |
---|---|
67 dasrt_user_f (const ColumnVector& x, const ColumnVector& xdot, | 67 dasrt_user_f (const ColumnVector& x, const ColumnVector& xdot, |
68 double t, octave_idx_type&) | 68 double t, octave_idx_type&) |
69 { | 69 { |
70 ColumnVector retval; | 70 ColumnVector retval; |
71 | 71 |
72 error_unless (x.numel () == xdot.numel ()); | 72 panic_unless (x.numel () == xdot.numel ()); |
73 | 73 |
74 octave_value_list args; | 74 octave_value_list args; |
75 | 75 |
76 args(2) = t; | 76 args(2) = t; |
77 args(1) = xdot; | 77 args(1) = xdot; |
157 dasrt_user_j (const ColumnVector& x, const ColumnVector& xdot, | 157 dasrt_user_j (const ColumnVector& x, const ColumnVector& xdot, |
158 double t, double cj) | 158 double t, double cj) |
159 { | 159 { |
160 Matrix retval; | 160 Matrix retval; |
161 | 161 |
162 error_unless (x.numel () == xdot.numel ()); | 162 panic_unless (x.numel () == xdot.numel ()); |
163 | 163 |
164 octave_value_list args; | 164 octave_value_list args; |
165 | 165 |
166 args(3) = cj; | 166 args(3) = cj; |
167 args(2) = t; | 167 args(2) = t; |