Hi,

The code snippet below

class example {

   public static
   def main(args:Rail[String]!) {

       var n:int = 9;
       var R:Region(2) = [0..n, 0..n];
       var R_in: Region(2) = [1..n-1, 1..n-1];
       var B:Region(2) = R - R_in;
   }
}

worked with previous versions of X10, but produces now the error message :

example.x10:9: No operation - found for operands 
x10.array.Region{self.rank==2} and x10.array.Region{self.rank==2}.

Is it possible to compute the difference of 2 regions by another 
expression (apart from describing the result explicitly ...) ?

Best Regards,
Marc

PS. Release notes for 2.0.3 mentions that some region operations have 
been removed (temporarily).
Is it the case with regions difference ?

-- 

Marc Tajchman

E-mail : marc.tajch...@cea.fr
Tel.   : 01 69 08 73 27
Fax.   : 01 69 08 96 96
DEN/DM2S/SFME/LGLS
CEA Saclay, 91191 Gif/Yvette


Ce message électronique et tous les fichiers attachés qu'il contient
sont confidentiels et destinés exclusivement à l'usage de la personne
à laquelle ils sont adressés. Si vous avez reçu ce message par erreur,
merci d'en avertir immédiatement son émetteur et de ne pas en conserver
de copie.

This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual to whom they are addressed.
If you have received this e-mail in error please inform the sender
immediately, without keeping any copy thereof.


------------------------------------------------------------------------------
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to