We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 24adfbc + 8b8f8a4 commit d7f696fCopy full SHA for d7f696f
src/plotrecipes.jl
@@ -1,6 +1,6 @@
1
@recipe function f(sim::ConvergenceSimulation)
2
if ndims(collect(values(sim.errors))[1])>1 #Monte Carlo
3
- vals = [mean(x,1)' for x in values(sim.errors)]
+ vals = [typeof(x)<:AbstractVector ? x : mean(x,1)' for x in values(sim.errors)]
4
else #Deterministic
5
vals = [x for x in values(sim.errors)]
6
end
0 commit comments