Ignore:
Timestamp:
02/19/07 02:51:22 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Mutation.cpp

    r2123 r2124  
    186186        for (int i=0; i < contributingRays; i++, index--) { 
    187187          if (index < 0) 
    188                 index = mRays.size()-1; 
     188                index = (int)mRays.size()-1; 
    189189          mRays[index].mImportance = importance; 
    190190        } 
     
    196196  // reset the start of the buffer 
    197197  mBufferStart = 0; 
    198   mLastIndex = mRays.size(); 
     198  mLastIndex = (int)mRays.size(); 
    199199  cout<<"Mutation candidates sorted in "<<TimeDiff(t1, GetTime())<<" ms."<<endl; 
    200200#endif 
     
    214214  cout<<"Importance = "<< 
    215215        GetEntry(0).mImportance<<" "<< 
    216         GetEntry(mRays.size()-1).mImportance<<endl; 
     216        GetEntry((int)mRays.size()-1).mImportance<<endl; 
    217217 
    218218  cout<<"Sampling factor = "<< 
    219219        GetEntry(0).GetSamplingFactor()<<" "<< 
    220         GetEntry(mRays.size()-1).GetSamplingFactor()<<endl; 
     220        GetEntry((int)mRays.size()-1).GetSamplingFactor()<<endl; 
    221221 
    222222  cerr<<"Mutation update done."<<endl; 
     
    564564  index = mLastIndex - 1; 
    565565  if (index < 0 || index >= mRays.size()-1) { 
    566         index = mRays.size() - 1; 
     566        index = (int)mRays.size() - 1; 
    567567  } else 
    568568        if ( 
     
    573573          //      cout<<mLastIndex<<endl; 
    574574          //      cout<<index<<endl; 
    575           index = mRays.size() - 1; 
     575          index = (int)mRays.size() - 1; 
    576576        } 
    577577#else 
Note: See TracChangeset for help on using the changeset viewer.