Changeset 2371 in Sophya


Ignore:
Timestamp:
Apr 24, 2003, 3:33:05 PM (22 years ago)
Author:
aubourg
Message:

encore une betise de cecile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/ProcWSophya/ring2cout.cc

    r2361 r2371  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: ring2cout.cc,v 1.5 2003-04-17 13:47:34 cecile Exp $
     5// $Id: ring2cout.cc,v 1.6 2003-04-24 13:33:05 aubourg Exp $
    66
    77#include "toimanager.h"
     
    4040
    4141//---------------------------------------------------------
     42  double* val=NULL;
    4243try {
    4344  uint_4 mSnRead=0, mSnFilled=0, BadCoorRange=0;
    4445
    4546  cout << " ring " << Nrings << " ns " << Nsamples<< endl;
    46   double val[Nsamples];
     47  val = new double[Nsamples];
    4748  for (int k=0; k<Nrings; k++) {
    4849   
     
    6869      <<"\n .... Msg= "<<exc.Msg()<<endl;
    6970}
     71
     72 delete[] val;
    7073 
    7174
Note: See TracChangeset for help on using the changeset viewer.