Skip to content

Commit

Permalink
fix attribute error in XHatEval
Browse files Browse the repository at this point in the history
  • Loading branch information
bknueven committed Jan 17, 2025
1 parent d2a6069 commit 74c5425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpisppy/utils/xhat_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def _fix_nonants_at_value(self):
persistent_solver = s._solver_plugin

for var in s._mpisppy_data.nonant_indices.values():
if var in s.all_surrogate_nonants:
if var in s._mpisppy_data.all_surrogate_nonants:
continue
if var.is_binary() or var.is_integer():
var._value = round(var._value)
Expand Down

0 comments on commit 74c5425

Please sign in to comment.