Skip to content

Commit

Permalink
remove unused imports; fix print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeolson committed Feb 8, 2024
1 parent 6068756 commit e687d95
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion pyamg/aggregation/tests/test_aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from numpy.testing import TestCase, assert_approx_equal, \
assert_array_almost_equal
from scipy import sparse
import scipy.linalg as sla
from scipy.sparse import SparseEfficiencyWarning

from pyamg.util.utils import diag_sparse
Expand Down
1 change: 0 additions & 1 deletion pyamg/aggregation/tests/test_rootnode.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import warnings
import numpy as np
from scipy import sparse
import scipy.linalg as sla
from scipy.sparse import SparseEfficiencyWarning

from numpy.testing import TestCase, assert_approx_equal, \
Expand Down
2 changes: 1 addition & 1 deletion pyamg/vis/vis_coarse.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,4 +279,4 @@ def check_input(V=None, E2V=None, AggOp=None, A=None, splitting=None, mesh_type=
if mesh_type is not None:
valid_mesh_types = ('vertex', 'tri', 'quad', 'tet', 'hex')
if mesh_type not in valid_mesh_types:
raise ValueError(f'mesh_type should be {" or ".join(valid_mesh_types)}')
raise ValueError(f'mesh_type should one of {valid_mesh_types}')

0 comments on commit e687d95

Please sign in to comment.