Skip to content

Commit

Permalink
Omission from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales committed Oct 20, 2023
1 parent eecc620 commit 592e15f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions scripts/suite_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from code_block import CodeBlock
from constituents import ConstituentVarDict
from framework_env import CCPPFrameworkEnv
from metavar import Var, VarDictionary, VarLoopSubst, VarUnitConv
from metavar import Var, VarDictionary, VarLoopSubst
from metavar import CCPP_CONSTANT_VARS, CCPP_LOOP_VAR_STDNAMES
from parse_tools import ParseContext, ParseSource, context_string
from parse_tools import ParseInternalError, CCPPError
Expand Down Expand Up @@ -1660,13 +1660,6 @@ def register_action(self, vaction):
vaction.add_local(self, _API_LOCAL, self.run_env)
return True

if isinstance(vaction["from"], VarUnitConv):
if (vaction["from"]):
self._unit_cnv_matches_from = vaction["from"].add_to_list(self._unit_cnv_matches_from)
if (vaction["to"]):
self._unit_cnv_matches_to = vaction["to"].add_to_list(self._unit_cnv_matches_to)
return True

return False

def match_units(self, var):
Expand Down

0 comments on commit 592e15f

Please sign in to comment.