clojure.lang.Numbers.doubles_array takes a Number or ISeq. The fact that you're not getting precise line numbers for the error in your own source is suspect. How are you compiling and testing your code?
David On Wed, May 16, 2012 at 1:18 PM, Jim - FooBar(); <jimpil1...@gmail.com>wrote: > But it is already a double array, or at least it should be because that is > what normalize returns...Why start copying into a new array? > > anyway, I tried it and i get this instead: > > ClassCastException [D cannot be cast to java.lang.Number > clojure.lang.Numbers.double_**array (Numbers.java:1068) > > I don't even know where that comes from!!! any ideas? > > Jim > > > On 16/05/12 18:10, Michał Marczyk wrote: > >> You probably want to use double-array rather than doubles. The former >> creates an array, the latter is a cast. >> >> Cheers, >> Michał >> >> >> On 16 May 2012 19:04, Jim - FooBar();<jimpil1...@gmail.com**> wrote: >> >>> This is the only error I'm getting - there is no stack trace or at least >>> i >>> can not see it...I'm inside leiningen 2 preview 4... I can however >>> provide 2 >>> screenshots confirming what is happening. >>> >>> Thanks a lot for your time btw... >>> >>> Jim >>> >>> ps: function.png shows the function thatis being returned by make-data >>> when >>> passed the key :temporal-window. >>> >>> >>> >>> On 16/05/12 17:58, Walter Tetzner wrote: >>> >>> On Wednesday, May 16, 2012 12:51:15 PM UTC-4, Jim foo.bar wrote: >>> >>>> I guess what I'm asking is at which point does the array become an >>>> ArraySeq and why casting it back to a double array with 'doubles' >>>> doesn't >>>> work? >>>> >>> >>> Can you post the whole stack trace? >>> >>> -Walter >>> >>> -- >>> 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+unsubscribe@**googlegroups.com<clojure%2bunsubscr...@googlegroups.com> >>> For more options, visit this group at >>> http://groups.google.com/**group/clojure?hl=en<http://groups.google.com/group/clojure?hl=en> >>> >>> >>> -- >>> 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+unsubscribe@**googlegroups.com<clojure%2bunsubscr...@googlegroups.com> >>> For more options, visit this group at >>> http://groups.google.com/**group/clojure?hl=en<http://groups.google.com/group/clojure?hl=en> >>> >> > -- > 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+unsubscribe@**googlegroups.com<clojure%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/**group/clojure?hl=en<http://groups.google.com/group/clojure?hl=en> > -- 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