Skip to content

Commit

Permalink
update paropt interface (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewu63 authored Feb 22, 2024
1 parent dbc5e37 commit cae6954
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 cae6954

Please sign in to comment.