question

Steven Chen avatar image
0 Likes"
Steven Chen asked Jason Lightfoot edited

Incorrect calculation with breakpoint

Hello,

Somehow the breakpoint at line 24 causes incorrect calculation.

Expected value of rz is -180, but adding the breakpoint will change the value to -60.

BasicTE Breakpoint Issue v21.0.fsm

FlexSim 21.0.3
flexsim 21.0.3breakpoints
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

Thanks for pointing this out - it looks like a bug that can be repeated just by running/debugging this short script from the script window:

double rz=-180%360;
return rz;
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.