Skip to content

Commit

Permalink
Update python examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemidov committed Jul 11, 2018
1 parent a6e220f commit 68579a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/pyprecond.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
A = mmread(args.A)
f = mmread(args.f).flatten() if args.f else np.ones(A.shape[0])
else:
A,f = make_poisson(args.n)
A,f = make_poisson_3d(args.n)

# Parse parameters
prm = {p[0]: p[1] for p in map(lambda s: s.split('='), args.p)}
Expand Down
2 changes: 1 addition & 1 deletion examples/pysolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def report():
f = mmread(args.f).flatten() if args.f else np.ones(A.shape[0])
else:
with timeit('Generate problem'):
A,f = make_poisson(args.n)
A,f = make_poisson_3d(args.n)

# Parse parameters
p_prm = {p[0]: p[1] for p in map(lambda s: s.split('='), args.p)}
Expand Down

0 comments on commit 68579a6

Please sign in to comment.