Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong test in main.py - dipole_field_test(): #3

Open
LucasGrosset opened this issue May 22, 2024 · 0 comments
Open

Wrong test in main.py - dipole_field_test(): #3

LucasGrosset opened this issue May 22, 2024 · 0 comments

Comments

@LucasGrosset
Copy link

In the function dipole_field_test() of main.py, the fourth test comment and actual test do not match (-3 on comments, 3 on test):

  # At (y, z) = (0, -1), the field should be (0, -3)
  assert np.all(dipole_field([-1, 0]) - np.array([0, 3])) < 1e-15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant