Skip to content

Commit 85fcef3

Browse files
author
andre_ramos
committed
fix Basic Structural
1 parent 69fb36b commit 85fcef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/structural_model.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ function create_ξ(T::Int, ξ_threshold::Int, stochastic_start::Int)::Matrix
335335
ξ_matrix = zeros(T, T - stochastic_start + 1)
336336
ones_indexes = findall(
337337
I -> Tuple(I)[1] - (stochastic_start - 2) > Tuple(I)[2],
338-
CartesianIndices((T, T - stochastic_start)),
338+
CartesianIndices((T, T - stochastic_start + 1)),
339339
)
340340
ξ_matrix[ones_indexes] .= 1
341341
return ξ_matrix[:, 1:(end - ξ_threshold)]

0 commit comments

Comments
 (0)