From c7a03479cdb365fc1737c3d6e75a0be51edf04e6 Mon Sep 17 00:00:00 2001 From: Eirikur Jonsson <36180221+eirikurj@users.noreply.github.com> Date: Tue, 15 Mar 2022 18:52:11 +0000 Subject: [PATCH] Make tests run (#124) --- pygeo/parameterization/DVGeoESP.py | 2 +- pygeo/parameterization/DVGeoMulti.py | 2 +- pygeo/parameterization/DVGeoVSP.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pygeo/parameterization/DVGeoESP.py b/pygeo/parameterization/DVGeoESP.py index 1daf5958..addc1d92 100644 --- a/pygeo/parameterization/DVGeoESP.py +++ b/pygeo/parameterization/DVGeoESP.py @@ -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. diff --git a/pygeo/parameterization/DVGeoMulti.py b/pygeo/parameterization/DVGeoMulti.py index 0a5d9c37..3859fa1e 100644 --- a/pygeo/parameterization/DVGeoMulti.py +++ b/pygeo/parameterization/DVGeoMulti.py @@ -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. diff --git a/pygeo/parameterization/DVGeoVSP.py b/pygeo/parameterization/DVGeoVSP.py index ae414772..35fd6409 100644 --- a/pygeo/parameterization/DVGeoVSP.py +++ b/pygeo/parameterization/DVGeoVSP.py @@ -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.