Changeset 2204 in Sophya


Ignore:
Timestamp:
Oct 6, 2002, 5:18:17 PM (23 years ago)
Author:
aubourg
Message:

build magique

Location:
trunk/ArchTOIPipe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Kernel/toimanager.cc

    r2187 r2204  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: toimanager.cc,v 1.17 2002-09-09 15:33:15 aubourg Exp $
     5// $Id: toimanager.cc,v 1.18 2002-10-06 15:18:17 aubourg Exp $
    66
    77#include "toimanager.h"
     
    6262   
    6363  // debogage affichage des limites apres calcul
    64   for (vector<TOIProcessor*>::iterator i = processors.begin();
     64  {for (vector<TOIProcessor*>::iterator i = processors.begin();
    6565       i != processors.end(); i++) {
    6666    TOIProcessor* proc = *i;
    6767    proc->printLimits();
     68  }
    6869  }
    6970
  • trunk/ArchTOIPipe/Processors/toimedfilter.cc

    r2193 r2204  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: toimedfilter.cc,v 1.1 2002-09-16 11:52:18 aubourg Exp $
     5// $Id: toimedfilter.cc,v 1.2 2002-10-06 15:18:17 aubourg Exp $
    66
    77#include <algorithm>
     
    5858
    5959  // init structures
    60   for (int i=0; i<w; i++) {
     60  {for (int i=0; i<w; i++) {
    6161    double data = getData(0, snb+i);
    6262    low.insert(data);
    63   }
     63  }}
    6464
    6565  multiset<double>::iterator ii = low.begin();
    66   for (int i=0; i<w/2; i++, ii++);
     66  {for (int i=0; i<w/2; i++, ii++);}
    6767  mid = *ii;
    6868  ii++; high.insert(ii, low.end());
     
    7272  //  cout << snb+w/2<< " -> " << mid << endl;
    7373
    74   for (int i=snb+w; i<=sne; i ++) {
     74  {for (int i=snb+w; i<=sne; i ++) {
    7575    double b = getData(0, i);
    7676    double a = getData(0, i-w);
     
    127127    //      cout << i-w/2 << " -> " << mid << endl;
    128128    putData(0, i-w/2, mid);     
    129   }
     129  }}
    130130}
    131131 
Note: See TracChangeset for help on using the changeset viewer.