Skip to content

fastmath 3.x fails to load on clojure 1.13 alpha releases #71

Description

@phronmophobic

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?]
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions