Expression not parsable "DoublePDF[(1;1.0)]"

Description

The new StoEx version is unable to parse and evaluate the following expression during simulation: "DoublePDF[(1;1.0)]".

Exception:
Expression not parsable "DoublePDF[(1;1.0)]"

Environment

None

Activity

Show:
Christian Stier
April 30, 2015, 12:42 PM

Okay, I assumed that this was broken as it previously had worked (pre-new-StoEx). Obv. integers cannot always be cast to floating point values in a type-safe manner, I had just assumed that the previous lenience was a feature and not a bug.

Sebastian Lehrig
April 30, 2015, 12:30 PM

This is actually a correct behavior since the first value of the tuple has to be a double. However, there where some templates left that wrongly used integers. I replaced these integers (1) with corresponding doubles (1.0) within the SimuCom generation.

Fixed

Assignee

Sebastian Lehrig

Reporter

Christian Stier

Requirement Category

Functional