Sorry for the delay in responding.

Yes indeed, it is the case that - is temporarily gone.

For now you will have to find a way to handle this through other means, 
e.g. creating four rectangular arrays for each of the border segments.

We are working to ensure that the operations we bring back on regions 
all have efficient implementations. With the version we had for 2.0.2 it 
was hard to predict the cost of applying various region operations, and 
the constant factors were high as well. We are looking to get 
rectangular arrays implemented as efficiently as possible, and then 
build up from there.

Tajchman Marc wrote:
> 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 ?
>
>   



------------------------------------------------------------------------------
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to