diff --git a/tardis/util.py b/tardis/util.py index 6047f0dc903..31dfbaa32b7 100644 --- a/tardis/util.py +++ b/tardis/util.py @@ -428,4 +428,4 @@ def quantity_linspace(start, stop, num, **kwargs): raise ValueError('Both start and stop need to be quantities with a ' 'unit attribute') - return np.linspace(start.value, stop.to(start.unit).value, num, **kwargs) * start.unit + return np.linspace(start.value, stop.to(start.unit).value, num, **kwargs) * start.unit \ No newline at end of file