Skip to content

Commit

Permalink
Fixed an issue in mphys builder (#160)
Browse files Browse the repository at this point in the history
* Fixed an issue in FFD mphys builder

* removed *args for flake

Co-authored-by: Anil Yildirim <anily@umich.edu>
  • Loading branch information
friedenhe and anilyil authored Oct 3, 2022
1 parent f6ef819 commit 4641625
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pygeo/mphys/mphys_dvgeo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pygeo/parameterization/DVGeo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4641625

Please sign in to comment.