comparison build-aux/mk-opts.pl @ 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 796f54d4ddbf
children e88a07dec498
comparison
equal deleted inserted replaced
31248:8b75954a4670 31249:de6fc38c78c6
425 425
426 print "\n void init (void)\n {\n"; 426 print "\n void init (void)\n {\n";
427 427
428 for ($i = 0; $i < $OPT_NUM; $i++) 428 for ($i = 0; $i < $OPT_NUM; $i++)
429 { 429 {
430 if ($INIT_VALUE[$i]) 430 if (defined $INIT_VALUE[$i])
431 { 431 {
432 print " $OPTVAR[$i] = $INIT_VALUE[$i];\n"; 432 print " $OPTVAR[$i] = $INIT_VALUE[$i];\n";
433 } 433 }
434 elsif ($INIT_BODY[$i]) 434 elsif ($INIT_BODY[$i])
435 { 435 {