memilio icon indicating copy to clipboard operation
memilio copied to clipboard

Example sde_seirvv_example takes a lot of time

Open HenrZu opened this issue 8 months ago • 0 comments

Bug description

The named example often doesnt terminate in the debug mode and causing the CI to fail.

This is caused by the root within the get_flows function. Since we are multiplying by the state in y, and the value can be less than 0 due to minor rounding errors in the integration process,(all within the scope of machine accuracy) , an attempt is made to calculate a root of a negative number. Why the msvc compiler then stops there endlessly is still open and needs to be clarified.

Version

Windows

To reproduce

Look at ci log

Relevant log output


Add any relevant information, e.g. used compiler, screenshots.


Checklist

  • [x] Attached labels, especially loc:: or model:: labels.
  • [x] Linked to project

HenrZu avatar Mar 13 '25 14:03 HenrZu