From f012ffeda89990d01b34254116a4887d5e8d8897 Mon Sep 17 00:00:00 2001 From: Hongyang Zhou Date: Fri, 16 Dec 2022 22:15:10 +0200 Subject: [PATCH] Handle #124 --- Project.toml | 2 +- src/vlsv/vlsvreader.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index a3d9221a..4b0b5f90 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Vlasiator" uuid = "7d2ba682-ad6e-4e20-80d9-3f2d4a610bb4" authors = ["Hongyang Zhou "] -version = "0.9.33" +version = "0.9.34" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" diff --git a/src/vlsv/vlsvreader.jl b/src/vlsv/vlsvreader.jl index 8dc51d19..4ef0c282 100644 --- a/src/vlsv/vlsvreader.jl +++ b/src/vlsv/vlsvreader.jl @@ -257,8 +257,8 @@ function load(file::AbstractString) nodeblockid) cellid = getcellid(fid, n.var) - - cellindex = sortperm(cellid) + #TODO: check the new sorting algorithms in Julia 1.9! + cellindex = sortperm(cellid, alg=MergeSort) ncells, block_size, coordmin, coordmax = readmesh(fid, footer)