Hi!
I am converting some java code to python scripts, using a JCC wrapped library.
One thing that strikes me is that java seems to have a automatic typecast of
int to float, which is not present in the JCC wrapped library.
i.e. if a tmp=100 and obj.shift(tmp) is executed, and the method expects
> On Dec 14, 2013, at 16:46, Petrus Hyvönen wrote:
>
> Hi!
>
> I am converting some java code to python scripts, using a JCC wrapped library.
>
> One thing that strikes me is that java seems to have a automatic typecast of
> int to float, which is not present in the JCC wrapped library.
>
>
Hi,
Yes sorry it should have been float(tmp).
Yes, could be added to the java code, and if it's complex its probably not an
issue in many cases.
Regards
/Petrus
On 14 Dec 2013, at 20:59 , Andi Vajda wrote:
>
>> On Dec 14, 2013, at 16:46, Petrus Hyvönen wrote:
>>
>> Hi!
>>
>> I am conve
Hi,
I'm having a problem with I think might be related to generic types, but not
sure at all.
I'm wrapping a orbit calculation library, which has been working well but in
latest version is using generic types and I'm getting some problems. The script
works when executed in plain python, but fa
> On Dec 14, 2013, at 19:14, Petrus Hyvönen wrote:
>
> Hi,
>
> I'm having a problem with I think might be related to generic types, but not
> sure at all.
>
> I'm wrapping a orbit calculation library, which has been working well but in
> latest version is using generic types and I'm getting