Repro
clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.13.0-alpha2"}, generateme/fastmath {:mvn/version "3.0.0-alpha4"}}}' -M -e "(require 'fastmath.optimization)"
You should see the error:
Syntax error compiling at (fastmath/optimization.clj:489:23).
Unable to resolve symbol: bounds in this context
I believe the issue is that the default value for warm-up depends on another binding, bounds, but warm-up is listed before bounds in the :keys list,
|
[f {:keys [warm-up init-points bounds utility-function-type utility-param kernel kscale jitter noise optimizer optimizer-params normalize?] |
.
Repro
clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.13.0-alpha2"}, generateme/fastmath {:mvn/version "3.0.0-alpha4"}}}' -M -e "(require 'fastmath.optimization)"You should see the error:
I believe the issue is that the default value for
warm-updepends on another binding,bounds, butwarm-upis listed beforeboundsin the:keyslist,fastmath/src/fastmath/optimization.clj
Line 483 in 6992072