Skip to content

Commit

Permalink
Upgrading to R5 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpsaraiva committed Apr 9, 2024
1 parent 6202d2c commit 0a177bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion java-r5rcore/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion java-r5rcore/src/org/ipea/r5r/Process/R5Process.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ public void setDestinations(String[] toIds, double[] toLats, double[] toLons, St
this.nDestinations = toIds.length;

// set maxDestinations in R5 for detailed path information retrieval
PathResult.maxDestinations = this.nDestinations;
// PathResult.maxDestinations does not exist in R5 anymore
//PathResult.maxDestinations = this.nDestinations;
}

public void setOrigins(String[] fromIds, double[] fromLats, double[] fromLons) {
Expand Down
2 changes: 1 addition & 1 deletion r-package/R/onLoad.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ r5r_env <- new.env(parent = emptyenv()) # nocov start
.onLoad <- function(lib, pkg) {

# JAR version
r5r_env$r5_jar_version <- "7.0.0"
r5r_env$r5_jar_version <- "7.1.0"
r5r_env$r5_jar_size <- 63493992

# create dir to store R5 Jar
Expand Down

0 comments on commit 0a177bc

Please sign in to comment.