From 71ae451b4c8560277fe02c7456ce2e3965e6b071 Mon Sep 17 00:00:00 2001 From: mmorligh Date: Sun, 15 Sep 2024 02:09:40 -0400 Subject: [PATCH] CHG: need to fetch the right column when creating transientinput --- src/core/elements.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/elements.jl b/src/core/elements.jl index c7d8f3d..d833b68 100644 --- a/src/core/elements.jl +++ b/src/core/elements.jl @@ -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);