Opened 14 years ago
Last modified 14 years ago
#1513 closed defect (fixed)
CevalFunction has weird behaviour for failing bindings
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | Martin Sjölund, Per Östlund |
Description
If it fails to constant-evaluate the binding, a default value (here: 0.0) will be provided out of the blue.
class A function x input String s; output Real r; external "builtin"; end x; function f input String s; output Real r := x(s); end f; constant Real r = f("abc"); end A;
Note:
See TracTickets
for help on using tickets.
Fixed in revision 8880, see test case mofiles/FunctionEvalFail.