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

Biot_Savart.py; ComplexWarning: Casting complex values to real discards the imaginary part #1

Open
GoogleCodeExporter opened this issue Oct 7, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Using winpython 2.7.5 64-bit
2. running Test_Biot_Savart_Solenoid.py
3.

What is the expected output? What do you see instead?
Expected to see the positive test result, instead got this error:

Biot_Savart.py:46: ComplexWarning: Casting complex values to real discards the 
imaginary part
  B[p] = B[p] + self.__solveSegment(dSegment, point, myWire.I)

What version of the product are you using? On what operating system?
Winpython(on windows 8 64bit):
Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] on 
win32
Type "help", "copyright", "credits" or "license" for more information.

Imported NumPy 1.7.1, SciPy 0.12.0, Matplotlib 1.3.0 + guidata 1.6.1, guiqwt 
2.3.1
Type "scientific" for more details.

Please provide any additional information below.

Original issue reported on code.google.com by kevinrav...@gmail.com on 16 Oct 2013 at 9:59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant