This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I'm extracting a single float from a java float[] array returned from said library. It appears that when such a float is passed to "-", i.e.:
(set! arr (java-library-returns-float)) (set! x (arr 0)) (set! y (- x))
there is a type error - procedure main throws exception
java.lang.ClassCastException: java.lang.Float
Invalid parameter, was: java.lang.Float
I (finally) fixed this (in SVN). -- --Per Bothner per@bothner.com http://per.bothner.com/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |