Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pytests/test_pytensoroperator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import platform

import numpy as np
import pytest
Expand All @@ -12,6 +13,10 @@
if pytensor_message is None:
import pytensor

# avoid compile error on mac
if platform.system() == "Darwin":
pytensor.config.gcc__cxxflags = "-Wno-c++11-narrowing"


par1 = {"ny": 11, "nx": 11, "dtype": np.float32} # square
par2 = {"ny": 21, "nx": 11, "dtype": np.float32} # overdetermined
Expand Down
Loading