Skip to content

Commit 593fb9f

Browse files
giuspuglGIUSEPPE PUGLISI
and
GIUSEPPE PUGLISI
authored
Fixing the unit_conversion routine (#605)
Co-authored-by: GIUSEPPE PUGLISI <[email protected]>
1 parent 70effe3 commit 593fb9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/toast/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -767,4 +767,4 @@ def unit_conversion(source, target):
767767
"""
768768
scale = 1.0 * source
769769
scale.to(target)
770-
return scale.value
770+
return scale.to(target).value

0 commit comments

Comments
 (0)