view test/bug-49379/bug-49379.tst @ 31249:de6fc38c78c6

Make Jacobian types offered by dlsode.f accessible by lsode (bug #31626). * liboctave/numeric/LSODE-opts.in: Add options "jacobian type", "lower jacobian subdiagonals", and "upper jacobian subdiagonals". * liboctave/numeric/LSODE.cc (file scope, lsode_j, LSODE::do_integrate (double)): Handle new configurable Jacobian types. * build-aux/mk-opts.pl: Don't implicitly convert to integer in condition.
author Olaf Till <olaf.till@uni-jena.de>
date Fri, 12 Nov 2010 08:53:05 +0100
parents 976a7a350274
children
line wrap: on
line source

%!test <49379>
%! a1 = 1;
%! a2 = 2;
%! obj = class_bug49379 (a1, a2);
%! assert (obj.ctor_arg_names (), {"a1", "a2"})
%! meth (obj, a2, a1);
%! assert (obj.meth_arg_names (), {"obj", "a2", "a1"})
%! obj.meth (a2, a1);
%! assert (obj.meth_arg_names (), {"obj", "a2", "a1"})