Skip to content

Commit

Permalink
CHG: need to fetch the right column when creating transientinput
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuMorlighem committed Sep 15, 2024
1 parent 541b347 commit 71ae451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/elements.jl
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ function InputCreate(element::Tria, inputs::Inputs, data::Matrix{Float64}, enum:

#Set values for all time slices
for i in 1:length(times)
AddTimeInput(inputs, transientinput, i, P1Enum, element.vertexids, scaling.*data[element.vertexids])
AddTimeInput(inputs, transientinput, i, P1Enum, element.vertexids, scaling.*data[element.vertexids,i])
end
else
error("size ",size(data,1)," not supported for ", enum);
Expand Down

0 comments on commit 71ae451

Please sign in to comment.