Skip to content

Commit 12be947

Browse files
committed
Catch more possible pch error messages
1 parent 7245892 commit 12be947

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

cmdstanpy/model.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,11 @@ def compile(
394394
)
395395
get_logger().warning(console)
396396

397-
if 'PCH file' in console:
397+
if (
398+
'PCH file' in console
399+
or 'model_header.hpp.gch' in console
400+
or 'precompiled header' in console
401+
):
398402
get_logger().warning(
399403
"CmdStan's precompiled header (PCH) files "
400404
"may need to be rebuilt."

0 commit comments

Comments
 (0)