8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f508b6 commit 46a60abCopy full SHA for 46a60ab
contrib/pg_trgm/trgm_regexp.c
@@ -227,14 +227,14 @@
227
* Numbers based on analysis of real-life texts.
228
*/
229
const float4 penalties[8] = {
230
- 1.0, /* "aaa" */
231
- 3.5, /* "aa " */
232
- 0.0, /* "a a" (impossible) */
233
- 0.0, /* "a " (impossible) */
234
- 4.2, /* " aa" */
235
- 2.1, /* " a " */
236
- 25.0, /* " a" */
237
- 0.0 /* " " (impossible) */
+ 1.0f, /* "aaa" */
+ 3.5f, /* "aa " */
+ 0.0f, /* "a a" (impossible) */
+ 0.0f, /* "a " (impossible) */
+ 4.2f, /* " aa" */
+ 2.1f, /* " a " */
+ 25.0f, /* " a" */
+ 0.0f /* " " (impossible) */
238
};
239
240
/* Struct representing a single pg_wchar, converted back to multibyte form */
0 commit comments