enthought / enthought/scimath

The new additive constant breaks the unit_parser

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Python
Stars
66
Forks
13
PR merge metrics
No merged PRs in 30d

Description

```
from scimath.units.api import unit_parser

unit_parser.parse_unit("1.0*m**-3*kg+0.0")
Out[10]: 1

unit_parser.parse_unit("1.0*m**-3*kg")
Out[11]: 1.0*m**-3*kg+0.0
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.