Skip to content

Commit a9c2e69

Browse files
committed
fix info
1 parent ebc85d1 commit a9c2e69

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

benchmark/setup-florida.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,19 @@
22

33
#Benchmark iterative methods against matrices from the University of Florida
44
#sparse collection
5+
using Pkg
56

67
#Root URL to the matrix collection
7-
UFL_URL_ROOT = "http://www.cise.ufl.edu/research/sparse/matrices"
8+
const UFL_URL_ROOT = "http://www.cise.ufl.edu/research/sparse/matrices"
89
#Plain text file containing list of matrices
9-
MASTERLIST = "matrices.txt"
10+
const MASTERLIST = "matrices.txt"
1011
#Download UFL collection to this directory
11-
BASEDIR = "florida"
12+
const BASEDIR = "florida"
1213

1314
# 1. Read in master list of matrices from BASEDIR/MASTERLIST
1415
# If absent, generate this file. Requires Gumbo.jl
15-
Pkg.installed("Gumbo")==nothing || using Gumbo
16+
Pkg.installed("Gumbo") === nothing || using Gumbo
17+
1618
isdir(BASEDIR) || mkdir(BASEDIR)
1719
if !isfile(joinpath(BASEDIR, MASTERLIST))
1820
Pkg.installed("Gumbo")===nothing && error("Parsing list from UFL website requires Gumbo.jl")
@@ -61,11 +63,9 @@ for (group, matrix) in matrices
6163
isdir(groupdir) || mkdir(groupdir)
6264

6365
if !isfile(joinpath(groupdir, matrix*".mat"))
64-
info("Downloading $group/$matrix.mat")
66+
@info("Downloading $group/$matrix.mat")
6567
download(joinpath(UFL_URL_ROOT, "..", "mat", group, matrix*".mat"),
6668
joinpath(BASEDIR, group, matrix*".mat"))
6769
end
6870
end
69-
info("Downloaded $(length(matrices)) matrices")
70-
71-
71+
@info("Downloaded $(length(matrices)) matrices")

src/svdl.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ function svdl_method!(log::ConvergenceHistory, A, l::Int=min(6, size(A,1)); k::I
201201
extend!(log, A, L, k)
202202
if verbose
203203
elapsedtime = round((time_ns()-T0)*1e-9, digits=3)
204-
info("Iteration $iter: $elapsedtime seconds")
204+
@info("Iteration $iter: $elapsedtime seconds")
205205
end
206206

207207
conv = isconverged(L, F, l, tol, reltol, log, verbose)

0 commit comments

Comments
 (0)