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 611eceb commit c7afc21Copy full SHA for c7afc21
pymc3/__init__.py
@@ -31,12 +31,8 @@
31
def __set_compiler_flags():
32
# Workarounds for Theano compiler problems on various platforms
33
import theano
34
-
35
- system = platform.system()
36
- if system == "Windows":
37
- theano.config.mode = "FAST_COMPILE"
38
- elif system == "Darwin":
39
- theano.config.gcc.cxxflags = "-Wno-c++11-narrowing"
+ current = theano.config.gcc.cxxflags
+ theano.config.gcc.cxxflags = f"{current} -Wno-c++11-narrowing"
40
41
42
__set_compiler_flags()
0 commit comments