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
Also, using numpy.empty() can create problems since stored values are compared to check if calculation is necessary. numpy.empty() does not overwrite memory for the creation of the array and in some cases may present a realistic value for _mixing_m_flow at initialization while the _mix_out coefficient is incorrect. Their values should be overwritten with numpy.nan:
The initialization of
_mix_out
inNetwork._initialize_stored_coefficients()
has incorrect shapes:pygfunction/pygfunction/networks.py
Lines 852 to 853 in c796630
The correct shape is
(1, self.nBoreholes)
.Also, using
numpy.empty()
can create problems since stored values are compared to check if calculation is necessary.numpy.empty()
does not overwrite memory for the creation of the array and in some cases may present a realistic value for_mixing_m_flow
at initialization while the_mix_out
coefficient is incorrect. Their values should be overwritten withnumpy.nan
:The text was updated successfully, but these errors were encountered: