Skip to content

Commit

Permalink
fixed argument passing error
Browse files Browse the repository at this point in the history
  • Loading branch information
markvanderloo committed Jul 31, 2017
1 parent 11aa807 commit 600e244
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pkg/NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
version 0.9.4.6
- Fixed argument passing error in lower_tri (thanks to Kurt Hornik)

version 0.9.4.5
- New argument 'bt' implementing Winkler's boost threshold for the Jaro-Winkler distance
- stringdist(a,b,method="qgram") returns correct value when q>nchar(a) (or b).
Expand Down
2 changes: 1 addition & 1 deletion pkg/src/Rstringdist.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ static int get_j(R_xlen_t k, int n){
#endif

SEXP R_lower_tri(SEXP a, SEXP method
, SEXP weight, SEXP p, SEXP q, SEXP bt
, SEXP weight, SEXP p, SEXP bt, SEXP q
, SEXP useBytes, SEXP nthrd){

int bytes = INTEGER(useBytes)[0]
Expand Down

0 comments on commit 600e244

Please sign in to comment.