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

Fixed error and warnings caused by latest numpy 1.16.0 #99

Merged
merged 2 commits into from
Jan 19, 2019
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion qml/fchl/fchl_kernel_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

import scipy
from scipy.special import binom
from scipy.misc import factorial
from scipy.special import factorial

def get_gaussian_parameters(tags):

Expand Down
2 changes: 1 addition & 1 deletion qml/qmlearn/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def _remove_constant_features(self, representations):
"""

if self._representation_type == 'atomic':
# Due to how the atomic neural network constructed,
# Due to how the atomic neural network is constructed,
# this cannot be done elementwise
rep = representations.reshape(-1, representations.shape[-1])
if self._constant_features is None:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

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

# For clang without OpenMP: (i.e. most Apple/mac system)
Expand Down
2 changes: 1 addition & 1 deletion test/test_fchl_scalar.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import scipy
from scipy.special import jn
from scipy.special import binom
from scipy.misc import factorial
from scipy.special import factorial

from qml.data import Compound

Expand Down