-
-
Notifications
You must be signed in to change notification settings - Fork 12.3k
poly1d equate error (Trac #554) #1152
Copy link
Copy link
Closed
Milestone
Description
Original ticket http://projects.scipy.org/numpy/ticket/554 on 2007-07-24 by trac user DrIdiot, assigned to unknown.
When I try to see if two polynomials are equal, I get an error:
In [13]: numpy.poly1d([1, 1, 1, 1,0,1]) == numpy.poly1d([1,0])
exceptions.AttributeError Traceback (most recent call last)
/home/harrison/
/usr/lib/python2.4/site-packages/numpy/lib/polynomial.py in eq(self, other)
601
602 def eq(self, other):
--> 603 return (self.coeffs == other.coeffs).all()
604
605 def ne(self, other):
I am running Gentoo with numpy 1.0.3
Reactions are currently unavailable