Mercurial > octave
comparison libinterp/dldfcn/__ode15__.cc @ 33446:5fded8395daa
rename yTYPE_value functions strict_TYPE_value
* ov.h, ov.cc (octave_value::strict_int_value): Rename from yint_value.
Change all uses.
(octave_value::strict_idx_type_value): Rename from yidx_type_value.
Change all uses.
(octave_value::strict_bool_value): Rename from ybool_value.
Change all uses.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 17 Apr 2024 13:58:27 -0400 |
parents | fb44a9db1bc6 |
children |
comparison
equal
deleted
inserted
replaced
33444:f57b492b5527 | 33446:5fded8395daa |
---|---|
1348 octave_scalar_map options | 1348 octave_scalar_map options |
1349 = args(4).xscalar_map_value ("__ode15__: ODE_OPT argument must be a scalar structure"); | 1349 = args(4).xscalar_map_value ("__ode15__: ODE_OPT argument must be a scalar structure"); |
1350 | 1350 |
1351 // Provided number of arguments in the ode callback function | 1351 // Provided number of arguments in the ode callback function |
1352 octave_idx_type num_event_args | 1352 octave_idx_type num_event_args |
1353 = args(5).yidx_type_value ("__ode15__: NUM_EVENT_ARGS must be an integer"); | 1353 = args(5).strict_idx_type_value ("__ode15__: NUM_EVENT_ARGS must be an integer"); |
1354 | 1354 |
1355 if (num_event_args != 2 && num_event_args != 3) | 1355 if (num_event_args != 2 && num_event_args != 3) |
1356 error ("__ode15__: number of input arguments in event callback must be 2 or 3"); | 1356 error ("__ode15__: number of input arguments in event callback must be 2 or 3"); |
1357 | 1357 |
1358 return do_ode15 (ida_fcn, tspan, numt, t0, y0, yp0, options, num_event_args); | 1358 return do_ode15 (ida_fcn, tspan, numt, t0, y0, yp0, options, num_event_args); |