Skip to content

Commit

Permalink
Remove unused import os in demo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shwina committed Aug 28, 2018
1 parent b00d664 commit d3c0437
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions demo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import numpy as np
import scipy.sparse as sparse
import scipy.sparse.linalg as splinalg

import pyamgx
import os

pyamgx.initialize()

Expand Down Expand Up @@ -29,10 +32,6 @@
solver = pyamgx.Solver().create(rsc, cfg)

# Upload system:
import numpy as np
import scipy.sparse as sparse
import scipy.sparse.linalg as splinalg

M = sparse.csr_matrix(np.random.rand(5, 5))
rhs = np.random.rand(5)
sol = np.zeros(5, dtype=np.float64)
Expand Down

0 comments on commit d3c0437

Please sign in to comment.