Home | History | Annotate | Download | only in patches
      1 --- dasher-4.7.3/Src/DasherCore/LanguageModelling/CTWLanguageModel.cpp	2007-06-04 15:13:55.000000000 -0400
      2 +++ /tmp/CTWLanguageModel.cpp	2007-06-07 15:37:03.546330789 -0400
      3 @@ -410,7 +410,7 @@
      4  	delete [] Index;
      5  
      6  	// Copy the intervals associated with the actual symbols to the vector Probs.
      7 -	Probs.assign((Interval.end()-(1<<NrPhases)), (Interval.end()-(1<<NrPhases)+iNumSymbols));		
      8 +	Probs.assign((int)(Interval.end()-(1<<NrPhases)), (int)(Interval.end()-(1<<NrPhases)+iNumSymbols));
      9  	pLeft +=Probs[0]; //symbol 0 is a special dummy symbol, should get prob. 0
     10  	Probs[0] = 0;
     11  	
     12