Fix error msg for invalid addition inputs
@@ -129,7 +129,7 @@ cdef class poly1d:
def __add__(self, other):
if isinstance(self, numpy.generic):
# for the case: numpy scalar + poly1d
- raise TypeError('Invalid inputs')
+ raise TypeError('Numpy scalar and poly1d addition is not supported')
return _routines_poly.polyadd(self, other)
# TODO(Dahlia-Chehata): implement using polymul
