Skip to content

Commit

Permalink
Update ensemble usage to prepare for future changes (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliascarv authored Oct 8, 2024
1 parent 32892f1 commit ee50da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function apply(transform::Simulate, geotable::AbstractGeoTable)
pad = ndigits(nreals)
pairs = mapreduce(vcat, ensembles) do (vars, ensemble)
mapreduce(vcat, 1:nreals) do i
[Symbol(v, :_, string(i; pad)) => ensemble[v][i] for v in vars]
[Symbol(v, :_, string(i; pad)) => ensemble[i][:, v] for v in vars]
end
end

Expand Down

0 comments on commit ee50da2

Please sign in to comment.