Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upinterpolated variables undeclared in delay blocks #130
Comments
|
@richfitz am just checking in on this. |
This is really a WIP towards #130 but gets some of the worst of this dealt with. However, it will fail if an interpolated function is both delayed and used without delay! And vector delays will still simply not compile
|
Fix for this on the |
This is really a WIP towards #130 but gets some of the worst of this dealt with. However, it will fail if an interpolated function is both delayed and used without delay! And vector delays will still simply not compile
|
this is fixed! |
|
@richfitz think i've found something similar when trying to use an interpolated matrix. For example this works fine:
But the following where make
Let me know if there is anything else that would be useful to know |
|
can you give initialisation parameters for this model too please? |
|
Sure so for the first model:
and then the second one that doesn't
|
|
thanks, very useful. this won't move until I get the new interface working I'm afraid, but I will probably look at rolling this into that work |
|
Cool - and yeah no rush from me so that sounds great. |
|
This is fixed on the |
Following is an example of where the interpolated variables are not correctly included within delay blocks. Sorry it's a little long, but tried to remake it with just one delay and couldn't seem to
which yields
and the compiled c code (as file):
odin.c.txt