Opened 12 years ago
Closed 12 years ago
#2103 closed defect (fixed)
code generation bug involving tuples and integers
Reported by: | Christoph Höger | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Code Generation | Version: | trunk |
Keywords: | Cc: |
Description
There is a side-effect on the generation of comments when integers and tuples are used.
model Bug function g input Real x; output Real y=x, z=x; end g; Real x,y; Integer i(start=1); equation (x,y) = g(time*i); /* only to prevent optimization of i */ when sample(1,1) then i=pre(i) + 1; end when; end Bug;
Change History (4)
comment:1 by , 12 years ago
Component: | Backend → Code Generation |
---|---|
Owner: | changed from | to
Status: | new → accepted |
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:3 by , 12 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The fix seems to have changed too much. I get a missing ref tod gesv_ now, because the generated Makefile lacks the -llapack flag.
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
It's an unrelated problem that has been fixed in r15464.
Note:
See TracTickets
for help on using tickets.
Fixed in r15461