Skip to content

Commit

Permalink
Merge branch 'master' of github.com:spatial-ews/spatialwarnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Génin committed Nov 16, 2023
2 parents 58b6649 + 6075233 commit b9a3408
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/norm_constants.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ double tplinfsum(double expo,

// Emit warning if we hit k_stop
if ( k == k_stop ) {
Rcpp::Function warning("warning");
warning("Maximum number of iterations reached in tplinfsum, increase above default (1e8) with options(spatialwarnings.constants.maxit = <x>");
Rcpp::Function warning("warning");
warning("Maximum number of iterations reached in tplinfsum, increase above default (1e8) with options(spatialwarnings.constants.maxit = <x>");
}

return(total);
Expand Down

0 comments on commit b9a3408

Please sign in to comment.