Change-Id: Iea655e766abdaec8e7f3e2c3aa5d23274636cfb9
| ... | ... |
@@ -155,7 +155,7 @@ double calculate_score(const char *needle, const char *haystack, size_t *positio |
| 155 | 155 |
} |
| 156 | 156 |
} |
| 157 | 157 |
|
| 158 |
- return (float)(M[n-1][m-1]) / (float)(n * 2 + 1); |
|
| 158 |
+ return M[n-1][m-1]; |
|
| 159 | 159 |
} |
| 160 | 160 |
|
| 161 | 161 |
double match_positions(const char *needle, const char *haystack, size_t *positions){
|