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
Here is a script that reproduces the bug. The problem is that the spacing returned is 1e-10 when I specified 1e-5. The issue is with line 72 of _bcc.py file. It multiplies the current spacing by the spacing, not realizing that the spacing was already applied correctly on line 50 above. I am making a PR.
importopenpnmasop# make BCC networkspacing=1e-5net=op.network.BodyCenteredCubic([5, 3, 3], spacing=spacing)
print(net['pore.coords'])
The text was updated successfully, but these errors were encountered:
Here is a script that reproduces the bug. The problem is that the spacing returned is 1e-10 when I specified 1e-5. The issue is with line 72 of _bcc.py file. It multiplies the current spacing by the spacing, not realizing that the spacing was already applied correctly on line 50 above. I am making a PR.
The text was updated successfully, but these errors were encountered: