Skip to content

Commit

Permalink
Rename math to mathutils (issue #23)
Browse files Browse the repository at this point in the history
Now the imports are not broken
  • Loading branch information
briling committed Apr 12, 2024
1 parent 61d3c3b commit d051565
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion qstack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
from qstack import basis_opt
from qstack import spahm
from qstack import regression
from qstack import math
from qstack import mathutils
from qstack import orcaio
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion qstack/orcaio.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import numpy as np
from qstack.math.matrix import from_tril
from qstack.mathutils.matrix import from_tril
from qstack.tools import reorder_ao

def read_density(mol, basename, directory='./', version=500, openshell=False, reorder_dest='pyscf'):
Expand Down
2 changes: 1 addition & 1 deletion qstack/regression/hyperparameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from sklearn.model_selection import train_test_split, KFold
from qstack.regression.kernel_utils import get_kernel, defaults, ParseKwargs
from qstack.tools import correct_num_threads
from qstack.math.fps import do_fps
from qstack.mathutils.fps import do_fps

def hyperparameters(X, y,
sigma=defaults.sigmaarr, eta=defaults.etaarr, gkernel=defaults.gkernel, gdict=defaults.gdict,
Expand Down
2 changes: 1 addition & 1 deletion qstack/regression/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from sklearn.model_selection import train_test_split
from qstack.regression.kernel_utils import get_kernel, defaults, ParseKwargs
from qstack.tools import correct_num_threads
from qstack.math.fps import do_fps
from qstack.mathutils.fps import do_fps


def regression(X, y, read_kernel=False, sigma=defaults.sigma, eta=defaults.eta,
Expand Down
2 changes: 1 addition & 1 deletion qstack/spahm/rho/sym.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import numpy as np
from pyscf import gto, data
from qstack import compound
from qstack.math.matrix import sqrtm
from qstack.mathutils.matrix import sqrtm


def idxl0(i, l, ao):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np
from qstack import compound, tools
from qstack.fields.decomposition import decompose
from qstack.math.matrix import from_tril
from qstack.mathutils.matrix import from_tril


def test_reorder_pyscf_gpr():
Expand Down

0 comments on commit d051565

Please sign in to comment.