Skip to content

Commit

Permalink
refactor: remove unnecessary doit()
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreminger committed Nov 2, 2024
1 parent 1b4260e commit a404f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/dimensional_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2609,7 +2609,7 @@ def evaluate_statements(statements: list[InputAndSystemStatement],
final_expression = subs_wrapper(final_expression, unitless_sub_expression_subs)

final_expression = subs_wrapper(final_expression, unitless_sub_expression_subs)
final_expression = cast(Expr, final_expression.doit())

dimensional_analysis_expression, dim_sub_error = get_dimensional_analysis_expression(dimensional_analysis_subs,
final_expression,
placeholder_map,
Expand Down

0 comments on commit a404f1d

Please sign in to comment.