see https://trac.sagemath.org/ticket/22799 : polynomials with numpy coefficients strike again, this time if you build Sage with clang:
sage: import numpy as np sage: x=polygen(RR) # this is problematic sage: y=polygen(RDF) # this works fine sage: np.float('1.5')*x 1.50000000000000*x sage: np.float('1.5')*y 1.5*x sage: np.float32('1.5')*x /usr/home/dima/Sage/sage/src/bin/sage-ipython:1: RuntimeWarning: invalid value encountered in multiply #!/usr/bin/env python 1.50000000000000*x sage: np.float64('1.5')*x /usr/home/dima/Sage/sage/src/bin/sage-ipython:1: RuntimeWarning: invalid value encountered in multiply #!/usr/bin/env python 1.50000000000000*x sage: np.float64('1.5')*y 1.5*x sage: np.float32('1.5')*y 1.5*x Finding out where exactly in numpy this warning happens is not easy (one can set up a numpy interrupt handler, but because it happens in compiled code, error message is almost meaningless) but it looks as if it might be a coercion problem. Any ideas where to look? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.