jxjo / Xoptfoil2

The Airfoil Optimizer
https://jxjo.github.io/Xoptfoil2/
MIT License
9 stars 2 forks source link

jatroyam #6

Closed jatroyam closed 6 months ago

jatroyam commented 6 months ago

hello,

Congratulations for your hard work !!!

I've found a little bug in 'subroutine eval_geometry_violations' in file 'eval_constraints.f90' of program version 1.0.1.

maxc should be replaced by maxt at line number 169.

! if (c%min_thickness /= NOT_DEF_D .and. maxc < c%min_thickness) then ! BUG if (c%min_thickness /= NOT_DEF_D .and. maxt < c%min_thickness) then

best regards.

JA Troya

jxjo commented 6 months ago

Hello JA Troya, ... oh - is it so important if it's 't' or 'c'? Just kidding ...

Super - thanks a lot for your perfect investigation! 👍 Fix will be in next version. Don't hesitate, if you have suggestions for improvement...

Best rergards Jochen