File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ namespace CsLib {
134134
135135 try {
136136 const int count = boost::lexical_cast<int >(itCount->second );
137- const int ratio = boost::lexical_cast<int >(itRatio->second );
137+ const int ratio = boost::lexical_cast<float >(itRatio->second );
138138 if (ratio < parsingRatioThr)
139139 str << " <p><b style='color: #FF0000;'>warning:</b> "
140140 " low parsing ratio: " << ratio << " %</p>\n " ;
@@ -150,7 +150,7 @@ namespace CsLib {
150150 return ;
151151
152152 const int baseCount = boost::lexical_cast<int >(itCount->second );
153- const int baseRatio = boost::lexical_cast<int >(itRatio->second );
153+ const int baseRatio = boost::lexical_cast<float >(itRatio->second );
154154 if (baseRatio < parsingRatioThr && baseRatio < ratio)
155155 str << " <p><b style='color: #FF0000;'>warning:</b> "
156156 " low parsing ratio in diff base: "
You can’t perform that action at this time.
0 commit comments