fix the bug so max_index of -r is considered.
fix the bug so max_index of -r is considered.


sdgdsffdsfff/libsvm,Adoni/libsvm,G-P-S/libsvm,Maluuba/libsvm,cjlin1/libsvm,asifmadnan/libsvm,cypro666/libsvm,mvtuong/Yelp-Challenge,androidYibo/libsvm,phoenixstar7/libsvm,ChinaQuants/libsvm,asifmadnan/libsvm,androidYibo/libsvm,Adoni/libsvm,ChinaQuants/libsvm,mhdella/libsvm,Adoni/libsvm,melissa-mccoy/libsvm,dejon97/libsvm,caidongyun/libsvm,mvtuong/Yelp-Challenge,ntucllab/hintsvm,cjlin1/libsvm,DaveGeneral/libsvm,Maluuba/libsvm,mhdella/libsvm,cjlin1/libsvm,androidYibo/libsvm,asifmadnan/libsvm,asifmadnan/libsvm,toothacher17/libsvm,mvtuong/Yelp-Challenge,melissa-mccoy/libsvm,TKlerx/libsvm,asifmadnan/libsvm,mhdella/libsvm,dejon97/libsvm,sdgdsffdsfff/libsvm,Maluuba/libsvm,sdgdsffdsfff/libsvm,caidongyun/libsvm,caidongyun/libsvm,cypro666/libsvm,cypro666/libsvm,dejon97/libsvm,DaveGeneral/libsvm,Maluuba/libsvm,TKlerx/libsvm,DaveGeneral/libsvm,ntucllab/hintsvm,Guokr1991/libsvm,mvtuong/Yelp-Challenge,Guokr1991/libsvm,phoenixstar7/libsvm,melissa-mccoy/libsvm,Guokr1991/libsvm,androidYibo/libsvm,G-P-S/libsvm,phoenixstar7/libsvm,ntucllab/hintsvm,Maluuba/libsvm,ChinaQuants/libsvm,toothacher17/libsvm,sdgdsffdsfff/libsvm,G-P-S/libsvm,ntucllab/hintsvm,mhdella/libsvm,DaveGeneral/libsvm,Maluuba/libsvm,cjlin1/libsvm,mhdella/libsvm,androidYibo/libsvm,cjlin1/libsvm,toothacher17/libsvm,toothacher17/libsvm,sdgdsffdsfff/libsvm,melissa-mccoy/libsvm,dejon97/libsvm,dejon97/libsvm,Adoni/libsvm,caidongyun/libsvm,TKlerx/libsvm,caidongyun/libsvm,TKlerx/libsvm,androidYibo/libsvm,G-P-S/libsvm,mhdella/libsvm,ChinaQuants/libsvm,toothacher17/libsvm,DaveGeneral/libsvm,phoenixstar7/libsvm,toothacher17/libsvm,ChinaQuants/libsvm,ChinaQuants/libsvm,cypro666/libsvm,sdgdsffdsfff/libsvm,G-P-S/libsvm,cypro666/libsvm,caidongyun/libsvm,phoenixstar7/libsvm,Guokr1991/libsvm,ntucllab/hintsvm,Guokr1991/libsvm,cjlin1/libsvm,TKlerx/libsvm,TKlerx/libsvm,DaveGeneral/libsvm,phoenixstar7/libsvm,asifmadnan/libsvm,dejon97/libsvm,cypro666/libsvm,melissa-mccoy/libsvm,melissa-mccoy/libsvm,G-P-S/libsvm,ntucllab/hintsvm,Guokr1991/libsvm