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 {
134
134
135
135
try {
136
136
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 );
138
138
if (ratio < parsingRatioThr)
139
139
str << " <p><b style='color: #FF0000;'>warning:</b> "
140
140
" low parsing ratio: " << ratio << " %</p>\n " ;
@@ -150,7 +150,7 @@ namespace CsLib {
150
150
return ;
151
151
152
152
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 );
154
154
if (baseRatio < parsingRatioThr && baseRatio < ratio)
155
155
str << " <p><b style='color: #FF0000;'>warning:</b> "
156
156
" low parsing ratio in diff base: "
You can’t perform that action at this time.
0 commit comments