Skip to content

Commit

Permalink
Remove unused var opts in _setup_var_data, avoid potential memory waste
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltySodaBunny committed Dec 5, 2023
1 parent 64ae0bf commit 6cd4e54
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions openmdao/components/meta_model_structured_comp.py
Expand Up @@ -144,10 +144,6 @@ def _setup_var_data(self):
Instantiate surrogates for the output variables that use the default surrogate.
"""
interp_method = self.options['method']

opts = {}
if 'interp_options' in self.options:
opts = self.options['interp_options']
for name, train_data in self.training_outputs.items():
self.interps[name] = InterpND(method=interp_method,
points=self.inputs, values=train_data,
Expand Down

0 comments on commit 6cd4e54

Please sign in to comment.