This issue tracker is closed. Please visit UPPAAL issue tracker at Github instead.

Bug 613

Summary: Combination of inline-if + doubles makes engine crash
Product: UPPAAL Reporter: Peter Gjøl Jensen <pgj>
Component: EngineAssignee: Marius Mikučionis <marius>
Status: ASSIGNED ---    
Severity: normal CC: adavid
Priority: P5    
Version: 4.1.20   
Hardware: PC   
OS: Linux   
Architecture:
Attachments: Model describing various scenarios where the bug occurs.

Description Peter Gjøl Jensen 2016-09-27 00:59:09 CEST
Created attachment 292 [details]
Model describing various scenarios where the bug occurs.

If a function is specified as

double abs(double  x) {
    return (x < 0.0 ? -x : x);
}

the results are unpredictable, sometimes leading to engine-crash.
Comment 1 Marius Mikučionis 2017-02-20 10:21:11 CET
Works fine in 4.1.19, but broken in stratego (4.1.20)