Skip to content

Commit

Permalink
Merge branch 'master' into coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
f0uriest authored Nov 14, 2023
2 parents 2d0cf0d + 182db38 commit 8ac6e60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions desc/optimize/_constraint_wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,12 +482,12 @@ def build(self, eq=None, use_jit=None, verbose=1): # noqa: C901
# with this directly, so if the user wants to manually rebuild they should
# do it before this wrapper is created for them.
if not self._objective.built:
self._objective.build(self._eq, verbose=verbose)
self._objective.build(use_jit=use_jit, verbose=verbose)
if not self._constraint.built:
self._constraint.build(self._eq, verbose=verbose)
self._constraint.build(use_jit=use_jit, verbose=verbose)

for constraint in self._linear_constraints:
constraint.build(self._eq, verbose=verbose)
constraint.build(use_jit=use_jit, verbose=verbose)

self._objectives = combine_args(self._objective, self._constraint)
self._set_things(self._all_things)
Expand Down

0 comments on commit 8ac6e60

Please sign in to comment.