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
Then run an ExternalComfort with this typology as an input to a SimulationResult. The ExternalComfort will fail. This is because the numpy stuff under the hood can't handle these mixed types. (Specifically, it fails on line 859 of _shelterbase, because numpy gets the object type from the first shelter on line 855.)
Easiest fix: when constructing the shelter, force convert the radiation_porosity to float, or enforce float type in the post init.
The text was updated successfully, but these errors were encountered:
To replicate, create a typology where the radiation_porosity type in the first shelter does not match the type of any of the other shelters, e.g.
Then run an ExternalComfort with this typology as an input to a SimulationResult. The ExternalComfort will fail. This is because the numpy stuff under the hood can't handle these mixed types. (Specifically, it fails on line 859 of _shelterbase, because numpy gets the object type from the first shelter on line 855.)
Easiest fix: when constructing the shelter, force convert the radiation_porosity to float, or enforce float type in the post init.
The text was updated successfully, but these errors were encountered: