You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whoops, yes it does, just not in the validator struct. Real numbers are checked for the multipliers and exponents when they're read by the parser, but intial_value attributes are stored naively as strings: is that the intention?
kerimoyle
changed the title
Validate strings representing real numbers in CellML elements
Do we need to validate strings representing real numbers in CellML initial_values?
Mar 27, 2019
initial_value attributes can be either a number or a variable name, so I think we store it as a string so that we can always determine which it is...there should be validation that checks the string is either a variable in the same component or a valid real number.
We currently don't validate that the occurrences of real numbers in the CellML2.0 model:
The text was updated successfully, but these errors were encountered: