Skip to content

Commit 714255d

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

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
@@ -281,7 +281,7 @@ function get_phase_bool(path::String,FileName_pvtr::String,ind)
281281
end
282282

283283
matrix =zeros(size(data.x.val))
284-
matrix[ind[:]] .= 1
284+
@views matrix[ind[:]] .= 1
285285
matrix = Int64.(matrix)
286286

287287
return matrix

0 commit comments

Comments
 (0)