Skip to content

Commit

Permalink
update paropt interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ewu63 committed Feb 21, 2024
1 parent dbc5e37 commit 276ec31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyoptsparse/pyParOpt/ParOpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def __call__(

class Problem(_ParOpt.Problem):
def __init__(self, ptr, n, m, xs, blx, bux):
super().__init__(MPI.COMM_SELF, n, m)
super().__init__(MPI.COMM_SELF, nvars=n, ncon=m)
self.ptr = ptr
self.n = n
self.m = m
Expand Down

0 comments on commit 276ec31

Please sign in to comment.