cellml / libcellml

Repository for libCellML development.
https://libcellml.org
Apache License 2.0
16 stars 21 forks source link

Generator: use only one variable info structure #948

Closed agarny closed 3 years ago

agarny commented 3 years ago

Right now, we have both VariableInfo and VariableInfoWithType while we could just get away with VariableInfoWithType (to be renamed VariableInfo). This means that VOI_INFO and STATE_INFO will hold "redundant" information (avout the type of a variable), but this also means that we would now have only one structure, making the generated code "simpler".