From 4641625e28b0bae97e05351c23d9083a693734d3 Mon Sep 17 00:00:00 2001 From: Ping He Date: Mon, 3 Oct 2022 12:48:43 -0500 Subject: [PATCH] Fixed an issue in mphys builder (#160) * Fixed an issue in FFD mphys builder * removed *args for flake Co-authored-by: Anil Yildirim --- pygeo/mphys/mphys_dvgeo.py | 2 +- pygeo/parameterization/DVGeo.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pygeo/mphys/mphys_dvgeo.py b/pygeo/mphys/mphys_dvgeo.py index 3a5c01bf..22eb13d6 100644 --- a/pygeo/mphys/mphys_dvgeo.py +++ b/pygeo/mphys/mphys_dvgeo.py @@ -35,7 +35,7 @@ def setup(self): else: ffd_options = self.options["options"] - self.DVGeo = DVGeometry(self.options["file"], comm=self.comm, **ffd_options) + self.DVGeo = DVGeometry(self.options["file"], **ffd_options) elif self.geo_type == "vsp": # we are doing a VSP-based DVGeo diff --git a/pygeo/parameterization/DVGeo.py b/pygeo/parameterization/DVGeo.py index 2d85fdad..4523c32c 100644 --- a/pygeo/parameterization/DVGeo.py +++ b/pygeo/parameterization/DVGeo.py @@ -130,7 +130,7 @@ def __init__(self, fileName, *args, isComplex=False, child=False, faceFreeze=Non # Load the FFD file in FFD mode. Also note that args and # kwargs are passed through in case additional pyBlock options # need to be set. - self.FFD = pyBlock("plot3d", fileName=fileName, FFD=True, kmax=kmax, *args, **kwargs) + self.FFD = pyBlock("plot3d", fileName=fileName, FFD=True, kmax=kmax, **kwargs) self.origFFDCoef = self.FFD.coef.copy() self.coef = None