Home | History | Annotate | Download | only in patches
      1  17828     yippi --- dasher-4.10.0/Src/DasherCore/LanguageModelling/CTWLanguageModel.cpp-orig	2009-03-17 14:50:21.832479000 -0500
      2  17828     yippi +++ dasher-4.10.0/Src/DasherCore/LanguageModelling/CTWLanguageModel.cpp	2009-03-17 14:51:58.616845000 -0500
      3  17828     yippi @@ -358,7 +358,7 @@ void CCTWLanguageModel::GetProbs(Context
      4  17828     yippi  	// calculate probabilities of all possible symbols. Again assume all 2^NrPhases 
      5  17828     yippi  	int *Index = new int[LocalContext.Context.size()+1]; // +1 for the rootnode
      6  11481  dcarbery  	
      7  17828     yippi -	vector <unsigned short int>Interval((1<<(NrPhases+1))-1); // number of rootnodes*2 (1 prob for bit 0 and 1 each)
      8  17828     yippi +	vector <unsigned int>Interval((1<<(NrPhases+1))-1); // number of rootnodes*2 (1 prob for bit 0 and 1 each)
      9  17828     yippi  	if (Norm>65535)
     10  17828     yippi  	{
     11  17828     yippi  		Interval[0]=65535; // to prevent overflow
     12