Skip to content

Commit 849915f

Browse files
committed
fix bug
1 parent 48a93e4 commit 849915f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/install.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ cmdstan_arch_suffix <- function(version = NULL) {
622622
if (grepl("linux", R.version$os) && grepl("aarch64", R.version$arch)) {
623623
arch <- "-linux-arm64"
624624
}
625-
if (!is.null(version) && version < "2.26" && !is.null(arch_suffix)) {
625+
if (!is.null(version) && version < "2.26") {
626626
# pre-CmdStan 2.26, only the x85 tarball was provided
627627
arch <- NULL
628628
}

0 commit comments

Comments
 (0)