Added suppression of CompilerWarning for pyopencl

这个提交包含在:
Craig Warren
2022-11-29 09:08:00 +00:00
父节点 78df7db25b
当前提交 9509541a2c

查看文件

@@ -18,11 +18,16 @@
import logging
import sys
import warnings
from pathlib import Path
# Used to suppress CompilerWarning (sub-class of UserWarning) from pyopencl
warnings.filterwarnings("ignore", category=UserWarning)
import cython
import numpy as np
from colorama import Fore, Style, init
init()
from scipy.constants import c
from scipy.constants import epsilon_0 as e0