Skip to content

Commit

Permalink
Update essm/variables/_core.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jiri Kuncar <jiri.kuncar@gmail.com>
  • Loading branch information
schymans and jirikuncar committed Oct 23, 2020
1 parent e195039 commit 42486fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion essm/variables/_core.py
Expand Up @@ -233,7 +233,6 @@ def collect_factor_and_basedimension(expr):
fds = {Variable.collect_factor_and_basedimension(
arg)[1] for arg in expr.args}
if fds != {Dimension(1)}:
print(fds)
raise ValueError(
'Arguments in function are not dimensionless, '
'but have dimensions of {0}'.format(fds))
Expand Down

0 comments on commit 42486fb

Please sign in to comment.