We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41296d1 commit d296ec5Copy full SHA for d296ec5
1 file changed
cmdstanpy/model.py
@@ -275,7 +275,7 @@ def src_info(self) -> Dict[str, Any]:
275
return result
276
try:
277
cmd = (
278
- [os.path.join('.', 'bin', 'stanc' + EXTENSION)]
+ [os.path.join(cmdstan_path(), 'bin', 'stanc' + EXTENSION)]
279
# handle include-paths, allow-undefined etc
280
+ self._compiler_options.compose_stanc()
281
+ [
@@ -285,7 +285,6 @@ def src_info(self) -> Dict[str, Any]:
285
)
286
out = subprocess.run(
287
cmd,
288
- cwd=cmdstan_path(),
289
capture_output=True,
290
text=True,
291
check=True,
0 commit comments