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: wbraun Owned by: wbraun
Priority: high Milestone: 1.9.1
Component: Backend Version: trunk
Keywords: Cc: lochel, jfrenkel

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 Changed 11 years ago by sjoelund.se

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

comment:2 Changed 11 years ago by sjoelund.se

  • Milestone changed from 1.9.0 to 1.9.1

Postponed until 1.9.1

comment:3 Changed 11 years ago by wbraun

  • Resolution set to fixed
  • Status changed from new to closed

yes, it's fixed!

Note: See TracTickets for help on using tickets.