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]

Re: [PATCH] Fix (= an-IntNum a-Complex) ClassCastException




On 11/12/2014 03:06 PM, Jamison Hope wrote:
Please apply the attached patch to fix this error comparing an <integer>
to a <complex>:

#|kawa:2|# (= 0 +i)
/dev/stdin:2:1: warning - call to #<procedure => throws java.lang.ClassCastException: gnu.math.CComplex cannot be cast to gnu.math.RealNum
java.lang.ClassCastException: gnu.math.CComplex cannot be cast to gnu.math.RealNum

Thanks.  I checked this in.
--
	--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]