Skip to content

Commit

Permalink
Make tests run
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikurj committed Mar 15, 2022
1 parent 740a4c0 commit 47c6ac3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pygeo/parameterization/DVGeoESP.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ def getNDV(self):
Return the number of DVs"""
return len(self.globalDVList)

def getVarNames(self):
def getVarNames(self, pyOptSparse=False):
"""
Return a list of the design variable names. This is typically
used when specifying a wrt= argument for pyOptSparse.
Expand Down
2 changes: 1 addition & 1 deletion pygeo/parameterization/DVGeoMulti.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def getNDV(self):
nDV += self.comps[comp].DVGeo.getNDV()
return nDV

def getVarNames(self):
def getVarNames(self, pyOptSparse=False):
"""
Return a list of the design variable names.
This is typically used when specifying a ``wrt=`` argument for pyOptSparse.
Expand Down
2 changes: 1 addition & 1 deletion pygeo/parameterization/DVGeoVSP.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def getNDV(self):
"""
return len(self.DVs)

def getVarNames(self):
def getVarNames(self, pyOptSparse=False):
"""
Return a list of the design variable names. This is typically
used when specifying a wrt= argument for pyOptSparse.
Expand Down

0 comments on commit 47c6ac3

Please sign in to comment.