mdolab / pygeo

pyGeo provides geometric design variables and constraints suitable for gradient-based optimization.
https://mdolab-pygeo.readthedocs-hosted.com/en/latest/?badge=latest
Apache License 2.0
131 stars 55 forks source link

fixed exception #128

Closed anilyil closed 2 years ago

anilyil commented 2 years ago

Purpose

I was impatient fixing flake errors in the previous PR (#120) and had an incorrect exception. Fixing it here.

codecov[bot] commented 2 years ago

Codecov Report

Merging #128 (ed1bc6f) into main (b23ccb5) will decrease coverage by 10.94%. The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             main     #128       +/-   ##
===========================================
- Coverage   62.55%   51.60%   -10.95%     
===========================================
  Files          43       43               
  Lines       11182    11182               
===========================================
- Hits         6995     5771     -1224     
- Misses       4187     5411     +1224     
Impacted Files Coverage Δ
pygeo/mphys/mphys_dvgeo.py 0.00% <0.00%> (ø)
pygeo/parameterization/DVGeoMulti.py 0.40% <0.00%> (-89.42%) :arrow_down:
pygeo/constraints/areaConstraint.py 50.50% <0.00%> (-25.42%) :arrow_down:
pygeo/constraints/DVCon.py 66.56% <0.00%> (-3.80%) :arrow_down:
pygeo/pyBlock.py 45.37% <0.00%> (-1.65%) :arrow_down:
pygeo/parameterization/DVGeo.py 63.79% <0.00%> (-0.50%) :arrow_down:
pygeo/topology.py 54.92% <0.00%> (-0.23%) :arrow_down:
pygeo/__init__.py 100.00% <0.00%> (+10.52%) :arrow_up:
pygeo/parameterization/__init__.py 100.00% <0.00%> (+14.28%) :arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more