octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49364] odeset does not implement non-exact ma


From: Rik
Subject: [Octave-bug-tracker] [bug #49364] odeset does not implement non-exact match to property name.
Date: Mon, 24 Oct 2016 15:26:13 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #11, bug #49364 (project octave):

I benchmarked with the following code:


N = 400;

bm = zeros (N,1);

for i = 1:N;
  tic;
  x = odeset ("RelTol", 1e-1);
  #x = odeset ("FooBar", 1e-1);
  bm(i) = toc;
endfor


And then median(bm) to not have a few outliers change the result.

Results:


Old code: 0.0026391
New code: 0.0026280


Basically the same.  I don't trust that my computer is accurately timing
events down to microsecond precision anyways.  I left the code as is.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49364>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]