Skip to content

Commit 66c07e5

Browse files
committed
added regression test for #78
1 parent 82c7f69 commit 66c07e5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pkg/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Description: Implements an approximate string matching version of R's native
2222
vectors representing generic sequences. This package is built for speed and
2323
runs in parallel by using 'openMP'. An API for C or C++ is exposed as well.
2424
Reference: MPJ van der Loo (2014) <doi:10.32614/RJ-2014-011>.
25-
Version: 0.9.6.3.7
25+
Version: 0.9.6.3.8
2626
Depends:
2727
R (>= 2.15.3)
2828
URL: https://github.com/markvanderloo/stringdist

pkg/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
version 0.9.6.4
22
- Fixes in use of INTEGER() and VECTOR_ELT() after updates in R's C API.
33
this affected 'afind' and 'max_length' (internally).
4+
- Fix in 'amatch' causing utf-8 characters to be ignored in some
5+
cases (thanks to Joan Mime for reporting #78).
46
- Fix: segfault when 'afind' was called with many search patterns or many
57
texts to be searched.
68
- Fix: stringsimmatrix was not normalized correctly (Thanks to Tamas Ferenci

pkg/src/Rstringdist.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ SEXP R_amatch(SEXP x, SEXP table, SEXP method
150150
Stringset *X = new_stringset(x, bytes, intdist);
151151
Stringset *T = new_stringset(table, bytes, intdist);
152152

153-
154153
// output vector
155154
SEXP yy;
156155
PROTECT(yy = allocVector(INTSXP, nx));

0 commit comments

Comments
 (0)