I'm sorry i made a mistake again...

'(doto (doubles data) ((comp prn class))) ' deos absolutely nothing! Nothing is being printed!

However the other suggestion

(into-array Double/TYPE data) throws the error described in my previous email. THat is why i got suspicious and looked inside data.

I'm sorry  guys...

Jim

On 16/05/12 19:27, Jim - FooBar(); wrote:
On 16/05/12 19:09, Michał Marczyk wrote:
(doto (doubles data) ((comp prn class)))

this causes an

IllegalArgumentException argument type mismatch
java.lang.reflect.Array.set (Array.java:-2)
clojure.lang.RT.seqToTypedArray (RT.java:1617)
clojure.core/into-array (core.clj:3042)
clojure-encog.training/make-data/fn--898 (training.clj:37)
clojure-encog.examples/eval976 (NO_SOURCE_FILE:1)
clojure.lang.Compiler.eval (Compiler.java:6511)
clojure.lang.Compiler.eval (Compiler.java:6477)
clojure.core/eval (core.clj:2797)
clojure.main/repl/read-eval-print--6405 (main.clj:245)
clojure.main/repl/fn--6410 (main.clj:266)
clojure.main/repl (main.clj:266)

which made me suspicious about what exactly might be inside the normalised data...well the screenshot shows exactly what is in...they are all doubles so what is the problem??????

this is weird stuff...

Jim



--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to