Changeset 13f9a4e in tol for tol_pkg/GisTools/Interp2D.tol


Ignore:
Timestamp:
Mar 2, 2010, 8:36:08 AM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
0907790
Parents:
77c938e
Message:

Using efficient grouping functions

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@2049 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol_pkg/GisTools/Interp2D.tol

    r77c938e r13f9a4e  
    142142    Real j.min = Max(1,p.y.class-1);
    143143    Real j.max = Min(Card(_.y.range)+1,p.y.class+1);
    144     Set p.candidates = BinGroup("<<",For(i.min, i.max, Set(Real i)
    145     {
    146       BinGroup("<<",For(j.min, j.max, Set(Real j)
     144    Set p.candidates = SetConcat(For(i.min, i.max, Set(Real i)
     145    {
     146      SetConcat(For(j.min, j.max, Set(Real j)
    147147      {
    148148        _.grid[i][j] 
    … …  
    171171    Real j.min = Max(1,p.y.class-1);
    172172    Real j.max = Min(Card(_.y.range)+1,p.y.class+1);
    173     Set p.candidates = BinGroup("<<",For(i.min, i.max, Set(Real i)
    174     {
    175       BinGroup("<<",For(j.min, j.max, Set(Real j)
     173    Set p.candidates = SetConcat(For(i.min, i.max, Set(Real i)
     174    {
     175      SetConcat(For(j.min, j.max, Set(Real j)
    176176      {
    177177        _.grid[i][j] 
Note: See TracChangeset for help on using the changeset viewer.