Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Commit aeb10e1

Browse files
committed
Fixed error and warnings caused by latest numpy 1.16.0
1 parent 2b46207 commit aeb10e1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

qml/fchl/fchl_kernel_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
import scipy
3030
from scipy.special import binom
31-
from scipy.misc import factorial
31+
from scipy.special import factorial
3232

3333
def get_gaussian_parameters(tags):
3434

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
# UNCOMMENT TO FORCE LINKING TO MKL with GNU compilers:
2828
if mkl_exists(verbose=True):
29-
LINKER_FLAGS = ["-lgomp", " -lpthread", "-lm", "-ldl"]
29+
LINKER_FLAGS = ["-lgomp", "-lpthread", "-lm", "-ldl"]
3030
MATH_LINKER_FLAGS = ["-L${MKLROOT}/lib/intel64", "-lmkl_rt"]
3131

3232
# For clang without OpenMP: (i.e. most Apple/mac system)

test/test_fchl_scalar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import scipy
3030
from scipy.special import jn
3131
from scipy.special import binom
32-
from scipy.misc import factorial
32+
from scipy.special import factorial
3333

3434
from qml.data import Compound
3535

0 commit comments

Comments
 (0)