Skip to content

poly1d equate error (Trac #554) #1152

@numpy-gitbot

Description

@numpy-gitbot

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions