Commit 32801794 authored by Alberto Ramos's avatar Alberto Ramos

Bug in print error message

parent 625a0d01
...@@ -418,7 +418,10 @@ function uwerror(a::uwreal, ws::wspace, wpm::Dict{Int64,Vector{Float64}}) ...@@ -418,7 +418,10 @@ function uwerror(a::uwreal, ws::wspace, wpm::Dict{Int64,Vector{Float64}})
a.err = sqrt(a.err) a.err = sqrt(a.err)
a.derr = sqrt(a.derr) a.derr = sqrt(a.derr)
else else
println(stderr, "ID's with negative tau_int: ", get_name_from_id.(id_neg_taui)) println(stderr, "ID's with negative tau_int: ")
for i in 1:length(id_neg_taui)
println(" ", get_name_from_id(id_neg_taui, ws))
end
error("Error analysis failed for some ID's. Choose your window more carefully") error("Error analysis failed for some ID's. Choose your window more carefully")
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment