-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new method to set default magnitude
of Units
#35
Conversation
Sound very great. I am checking now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost all test cases need to be fixed
python_code: bool = False | ||
) -> str: | ||
@staticmethod | ||
def create(dim: Dimension, name: str, dispname: str, scale: int = 0) -> 'Unit': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to set base
这么吓人? |
https://github.com/chaoming0625/brainunit/actions/runs/10250404914/job/28356059580 |
先不管tests,你先改math,改完后我再看,最后再改tests |
More examples at https://github.com/chaoming0625/brainunit/blob/c25506c9ff9c03dc225ba541f8c517b98a7309f3/brainunit/_unit_test.py#L1477-L1570