Hi, On Apr 19, 1:22 pm, Jarkko Oranen <[email protected]> wrote:
> You can just do (into-array Float/TYPE [1.0 2.0]) > There is no need to explicitly cast the vector items as they would be > boxed anyway as vectors currently can't contain primitives. Clojure just got mad on me without the casts: "argument type mismatch". Obviously because 1.0 is a double. So (into-array Double/ TYPE [1.0 2.0]) works for me. Sincerely Meikel PS: Tested with 1.0, though. So maybe this changed to 1.1. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
