Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4850 closed defect (fixed)

wrapFunctionCalls failed for sum

Reported by: Vitalij Ruge Owned by: Vitalij Ruge
Priority: high Milestone: Future
Component: Backend Version:
Keywords: wrapFunctionCalls Cc: Lennart Ochel

Description

following example failed

function foo
  input Real[:] x;
  output Real[:] y = x;
end foo;

model foobar
  Real y = sum(foo({time, time*2}));
equation
end foobar;

with
Error: post-optimization module wrapFunctionCalls (simulation) failed.

Change History (6)

comment:1 by Vitalij Ruge, 7 years ago

Owner: changed from Lennart Ochel to Vitalij Ruge
Status: newaccepted

comment:2 by Lennart Ochel, 7 years ago

Why does the cse module fail for sum?

in reply to:  2 comment:3 by Vitalij Ruge, 7 years ago

Replying to lochel:

Why does the cse module fail for sum?

I added lochel as CC.
He's been working on cse and can probably explain better than me.

comment:4 by Vitalij Ruge, 7 years ago

Cc: Lennart Ochel added

comment:5 by anonymous, 7 years ago

Resolution: fixed
Status: acceptedclosed

comment:6 by Lennart Ochel, 7 years ago

Vitalij, I asked the question. So could you please explain why the cse module failed and why it is a good idea to skip function sum?

Note: See TracTickets for help on using tickets.