Opened 12 years ago

Closed 11 years ago

#1867 closed enhancement (fixed)

Don't throw with "Division by zero" if it's treatable

Reported by: Willi Braun Owned by: Willi Braun
Priority: high Milestone: 1.9.1
Component: Backend Version: trunk
Keywords: Cc: Lennart Ochel, Jens Frenkel

Description

Change the division by zero thrown, so that it is only checked
for accepted step like an assert, since while the initialization
or the non-linear solver process we should be able to try also
not suitable solutions.

class M
  Real x,y;
equation
  x = cos(y);
  y = sin(1.0 / x);
end M;

Change History (3)

comment:1 by Martin Sjölund, 11 years ago

I think this is working now. Can you confirm we fixed this?

comment:2 by Martin Sjölund, 11 years ago

Milestone: 1.9.01.9.1

Postponed until 1.9.1

comment:3 by Willi Braun, 11 years ago

Resolution: fixed
Status: newclosed

yes, it's fixed!

Note: See TracTickets for help on using tickets.