jacobwilliams / slsqp

Modern Fortran Edition of the SLSQP Optimizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace diff with epsilon test

jacobwilliams opened this issue · comments

The diff function is a trick to check against the machine epsilon. Replace it with an actual test, and then we can eliminate this trick.

See: https://fortran-lang.discourse.group/t/looking-at-some-old-code/4580