import scipp as sc
a = sc.arange('x', 3., unit='K')
sc.allclose(a, a, rtol=sc.scalar(1.0e-3, unit='K'))
The error is
UnitError: Expected unit K, got dimensionless. For rtol arg
but I would have expected the error to be
UnitError: Expected unit dimensionless, got K. For rtol arg
?
The error is
UnitError: Expected unit K, got dimensionless. For rtol arg
but I would have expected the error to beUnitError: Expected unit dimensionless, got K. For rtol arg
?