Skip to content

Commit ea8157d

Browse files
committed
reorient array to fix broadcast bug
1 parent c3ff145 commit ea8157d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Simulation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function concentrations(bsol::Q, t::E) where {Q<:AbstractSimulation,E<:Real}
9393
end
9494

9595
function concentrations(bsol::Q) where {Q<:AbstractSimulation}
96-
@views return hcat(bsol.sol.u...)[bsol.domain.indexes[1]:bsol.domain.indexes[2],:]./getdomainsize.(bsol,bsol.sol.t)
96+
@views return hcat(bsol.sol.u...)[bsol.domain.indexes[1]:bsol.domain.indexes[2],:]./getdomainsize.(bsol,bsol.sol.t)'
9797
end
9898

9999
function concentrations(ssys::Q,name::W,t::E) where {Q<:SystemSimulation, W<:String, E<:Real}

0 commit comments

Comments
 (0)