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.
1 parent 24adfbc commit 8b8f8a4Copy full SHA for 8b8f8a4
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