Ignore:
Timestamp:
Dec 16, 2012, 2:58:00 PM (12 years ago)
Author:
lemeur
Message:

securites

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/src/particleBeam.cc

    r179 r190  
    138138
    139139  cout << " particleBeam::setFromParmela : numeroElement = " << numeroElement << endl;
    140   numeroElement--;
     140  unsigned indexElement = numeroElement-1;
     141 
    141142
    142143
     
    146147
    147148  while( partic.readFromParmelaFile(filefais) > 0 ) {
    148     if ( partic.ne == numeroElement )
     149    if ( partic.ne == indexElement )
    149150      {
    150151        faisceau.push_back(partic);
     
    171172  if ( faisceau.size() == 0)
    172173    {
    173       cerr << " particleBeam::setFromParmela echec lecture  element " << numeroElement+1 << endl;
     174      cerr << " particleBeam::setFromParmela echec lecture  element " << numeroElement << endl;
    174175      return false;
    175176    }
Note: See TracChangeset for help on using the changeset viewer.