diff --git a/examples/anasol/runtests.jl b/examples/anasol/runtests.jl index ee9dca38..c2f523a6 100644 --- a/examples/anasol/runtests.jl +++ b/examples/anasol/runtests.jl @@ -235,4 +235,4 @@ Mads.rmdir("w01shortexpplus_restart"; path=workdir) Mads.rmfile("w01short-rerun.mads") Mads.createobservations!(md, collect(0:0.1:50), collect(0:0.1:50)) -Mads.createobservations!(md, collect(0:0.1:50), collect(0:0.1:50); weight_type="inverse") \ No newline at end of file +Mads.createobservations!(md, collect(0:0.1:50), collect(0:0.1:50); weight_type="inverse") diff --git a/examples/anasol/runtests2.jl b/examples/anasol/runtests2.jl index 40b809dd..ff4466a7 100644 --- a/examples/anasol/runtests2.jl +++ b/examples/anasol/runtests2.jl @@ -7,7 +7,7 @@ workdir = joinpath(Mads.dir, "examples", "anasol") md = Mads.loadmadsfile(joinpath(workdir, "w01pure.mads")) ns = 10000 rsetdict = Mads.getparamrandom(md, ns) -rsetarray = hcat(map(i->rsetdict[i], keys(rsetdict))...)' +rsetarray = hcat(map(i -> rsetdict[i], keys(rsetdict))...)' rsetarrayplus = [repmat([823], ns)'; repmat([1499], ns)'; repmat([3], ns)'; rsetarray; repmat([15], ns)'] Mads.vectoron() computeconcentrations = Mads.makedoublearrayfunction(md) @@ -35,5 +35,5 @@ end rvd = Array{Float64}(undef, ns); @time for i = 1:ns - rvd[i] = Mads.contamination(823., 1499., 3., rsetarray[:, i]..., 15., Anasol.long_fff_bbb_iir_c) -end \ No newline at end of file + rvd[i] = Mads.contamination(823.0, 1499.0, 3.0, rsetarray[:, i]..., 15.0, Anasol.long_fff_bbb_iir_c) +end diff --git a/examples/anasol/runtests3.jl b/examples/anasol/runtests3.jl index d5e0c690..5521d50b 100644 --- a/examples/anasol/runtests3.jl +++ b/examples/anasol/runtests3.jl @@ -7,7 +7,7 @@ workdir = joinpath(Mads.dir, "examples", "anasol") md = Mads.loadmadsfile(joinpath(workdir, "w01purebig.mads")) ns = 100 rsetdict = Mads.getparamrandom(md, ns) -rsetarray = hcat(map(i->rsetdict[i], keys(rsetdict))...)' +rsetarray = hcat(map(i -> rsetdict[i], keys(rsetdict))...)' @info("Mads") @time rf = Mads.forward(md, rsetarray); @@ -21,4 +21,4 @@ for i = 1:ns end @time for i = 1:ns ra[i] = madslike(rsetarray[:, i])[1] -end \ No newline at end of file +end