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
The returned scattering pattern xarray is returned via reference(?), instead of a copy being made. This is an issue because if you do pattern1 = morph.run(), make some modifications to the morphology, and run pattern2 = morph.run(), pattern1 and pattern2 point to the same place in memory and pattern1 will be overwritten. For now this can be avoided with pattern = morph.run().copy()
The text was updated successfully, but these errors were encountered:
The returned scattering pattern xarray is returned via reference(?), instead of a copy being made. This is an issue because if you do
pattern1 = morph.run()
, make some modifications to the morphology, and runpattern2 = morph.run()
, pattern1 and pattern2 point to the same place in memory and pattern1 will be overwritten. For now this can be avoided withpattern = morph.run().copy()
The text was updated successfully, but these errors were encountered: