Skip to content

Commit

Permalink
removed unused method from hmat
Browse files Browse the repository at this point in the history
added test for init ifs to cuboid
  • Loading branch information
maekke97 committed Aug 16, 2017
1 parent 425093b commit 72ec107
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
1 change: 1 addition & 0 deletions .idea/dictionaries/nem.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions HierMat/hmat.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,14 +698,6 @@ def inv(self, make_copy=True):
j * bls]
return out_matrix

def solve(self, right_hand_side):
"""Solve the equation
:param right_hand_side:
:return:
"""
pass


def build_hmatrix(block_cluster_tree=None, generate_rmat_function=None, generate_full_matrix_function=None):
"""Factory to build an hierarchical matrix
Expand Down
2 changes: 2 additions & 0 deletions tests/test_cuboid.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def test_init(self):
self.assertEqual(type(self.cub1), Cuboid)
self.assertEqual(type(self.cub2), Cuboid)
self.assertEqual(type(self.cub3), Cuboid)
check = Cuboid(0, 1)
self.assertEqual(type(check), Cuboid)
self.assertRaises(ValueError, Cuboid, [0], [0, 1])

def test_len(self):
Expand Down

0 comments on commit 72ec107

Please sign in to comment.