-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Did you find a bug? Please help us improve by fill out the sections below. π
Describe the bug
It's no longer possible to generate a quantity by multiplying a number by a ScalarQuantity unit
To Reproduce
Steps to reproduce the behavior:
cptest = 10*cp.ScalarQuantity('Hz')
TypeError: unsupported operand type(s) for *: 'int' and 'ScalarQuantity'
Expected behavior
I would expect the same result as:
cptest = cp.ScalarQuantity('10 Hz')
Desktop (please complete the following information):
- OS: Windows
- Python version: 3.9.7
csdmpyversion: 0.6.0astropyversion (in case you need it): 6.0.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels