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
We cannot deserialize globals without a value set. In fact, in this case there is no information about the data type written into the SIR. This situation needs fixing so there is a clear bijection between the in-memory and serialization.
#931 fixes the immediate bug by using default initialization, but this is only a temporary fix. Long-term we need to allow unset globals, if globals are necessary...
The text was updated successfully, but these errors were encountered:
I think it's worth to first re-discuss globals to see if we really need them or if there is a better way to have the functionality of a constant (within the stencil) value which is domain-global, then see how to fix this, if it will be needed.
We cannot deserialize globals without a value set. In fact, in this case there is no information about the data type written into the SIR. This situation needs fixing so there is a clear bijection between the in-memory and serialization.
Relevant code references:
#931 fixes the immediate bug by using default initialization, but this is only a temporary fix. Long-term we need to allow unset globals, if globals are necessary...
The text was updated successfully, but these errors were encountered: