astropy/astropy — pull request #2944 by mhvk (2014-09-15 20:53:33+00:00)
Title: Correct determination of scaling in NDUncertainty.uncertainty.setter

In the setter, a scaling is determined that still carries a unit, which is subsequently used for in-place multiplication. In the current implementation of `Quantity`, this works, but it stops working with my stricter `__numpy_ufunc__` implementation (#2583). This PR solves the bug in `NDUncertainty`.