Skip to content

Commit 78e67ac

Browse files
nsicchaclaude
andcommitted
Fix: use MATH= instead of STAN_MATH= for BridgeStan make override
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ca376aa commit 78e67ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mwe/mwe.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ workdir = mktempdir()
3434
stan_file = joinpath(workdir, "mwe.stan")
3535
write(stan_file, stan_code)
3636

37-
lib = compile_model(stan_file; make_args=["STAN_MATH=$stan_math", "STAN_THREADS=true"])
37+
lib = compile_model(stan_file; make_args=["MATH=$stan_math/", "STAN_THREADS=true"])
3838

3939
data = """{"N": 5, "K": 2, "y": [1.0, 2.0, 3.0, 4.0, 5.0]}"""
4040
sm = StanModel(lib, data)

0 commit comments

Comments
 (0)