On Tuesday 01 June 2010 02:06:08 pm Yoav Zibin wrote:
> self.home==here
> This means u need to use ! After the type.
>
Following the recent posts, I tried the following.
global def ArrayD_add(s1:Array[double]!,
s2:Array[double]!)
{s1.region() == s2.region()}: Array[double] {
s1.lift(s1, s2, Double.+);
return(s1);
}
This seems to compile OK.
BTW, while leaving the typedef in the code (and using it elsewhere) I had to
remove it from the function definition, as it seem to blow up my workspace
(compile ran out of memory).
--
Mit freundlichen Grüßen / Kind regards
Dr. Christoph Pospiech
High Performance & Parallel Computing
Phone: +49-351 86269826
Mobile: +49-171-765 5871
E-Mail: [email protected]
-------------------------------------
IBM Deutschland GmbH
Vorsitzender des Aufsichtsrats: Erich Clementi
Geschäftsführung: Martin Jetter (Vorsitzender),
Reinhard Reschke, Christoph Grandpierre,
Klaus Lintelmann, Michael Diemer, Martina Koederitz
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB
14562 WEEE-Reg.-Nr. DE 99369940
------------------------------------------------------------------------------
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users