Skip to content

Commit 8234959

Browse files
committed
add back accidentally deleted accumulate and count vars
1 parent 886073c commit 8234959

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/unit/math/mix/util.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ inline double get_val(T&& x) {
1818
} else if constexpr (stan::is_stan_scalar_v<T>) {
1919
return x;
2020
} else {
21-
static_assert(1, "This function only accepts scalar types!");
21+
static_assert(sizeof(T*) == 0, "This function only accepts scalar types!");
2222
}
2323
}
2424
/**

0 commit comments

Comments
 (0)