Skip to content

Commit ad6b454

Browse files
Update src/LaMEM_post_processing.jl
Co-authored-by: Albert de Montserrat <[email protected]>
1 parent a73abbc commit ad6b454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaMEM_post_processing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ function get_phase(path::String,FileName_pvtr::String,phaseIDs::Vector{Int},sep_
215215
indices = ind[1]
216216
else
217217
# Get the indices of the phase in the current row
218-
for i in 1:length(phaseIDs)
218+
for i in eachindex(phaseIDs)
219219

220220
ind = get_phase(path,FileName_pvtr,i)
221221
indices = push!(indices, ind)

0 commit comments

Comments
 (0)