How to send double array[][] from Python to Java with JCC?

2013-01-21 Thread Alexey Ryabukhin
I have a function in java code that returns double array[][]. In python I have this: JArray[, , , , ] Works fine. But when I put it back to java it shows error: self.putArrayPixels(self.getArrayPixels()) ijresize.InvalidArgsError: (, 'putArrayPixels', JArray[, , , , ]) Is it possible somehow to

Re: How to send double array[][] from Python to Java with JCC?

2013-01-21 Thread Alexey Ryabukhin
gt; > On Mon, 21 Jan 2013, Alexey Ryabukhin wrote: > >> I have a function in java code that returns double array[][]. >> In python I have this: >> JArray[, , > [D@432685>, , ] >> Works fine. >> >> But when I put it back to java it shows error: &

Re: How to send double array[][] from Python to Java with JCC?

2013-01-23 Thread Alexey Ryabukhin
Just installed new version, but it still not works. Could you show me your java and python code example? Thank you. 2013/1/23 Andi Vajda : > > On Mon, 21 Jan 2013, Alexey Ryabukhin wrote: > >> Here is a Java part: >> >> public double[][] getArrayPixels() >>{

Re: How to send double array[][] from Python to Java with JCC?

2013-01-24 Thread Alexey Ryabukhin
You were right, I forgot to recompile java module. All works fine now. Thanks! 2013/1/24 Andi Vajda : > > On Thu, 24 Jan 2013, Alexey Ryabukhin wrote: > >> Just installed new version, but it still not works. >> Could you show me your java and python code example? >&g