Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rok-cesnovar committed Jul 19, 2021
1 parent 48a93e4 commit 849915f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ cmdstan_arch_suffix <- function(version = NULL) {
if (grepl("linux", R.version$os) && grepl("aarch64", R.version$arch)) {
arch <- "-linux-arm64"
}
if (!is.null(version) && version < "2.26" && !is.null(arch_suffix)) {
if (!is.null(version) && version < "2.26") {
# pre-CmdStan 2.26, only the x85 tarball was provided
arch <- NULL
}
Expand Down

0 comments on commit 849915f

Please sign in to comment.