Skip to content

Commit

Permalink
Minor fix for util
Browse files Browse the repository at this point in the history
  • Loading branch information
ssim committed Jul 13, 2017
1 parent 6bd2a71 commit 346d954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 346d954

Please sign in to comment.