Skip to content

Commit

Permalink
修复直接采用 . 作为分隔符分割路径的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
deltaeecs committed May 28, 2023
1 parent d677b52 commit 72a16b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MLFMA/LevelInfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function loadMPILevel!(level, fn; comm = MPI.COMM_WORLD, rank = MPI.Comm_rank(co
partition = get_partition(level.nCubes, sizePoles, np; isleaf = level.isleaf)
# 本 rank 是第几个 cube 分区
cubes_part = rank ÷ partition[1] + 1
cubefn = split(normpath(fn), ".")[1]*"_Cubes_part_$(cubes_part).jld2"
cubefn = joinpath(dirname(fn), split(basename(fn), ".")[1]*"_Cubes_part_$(cubes_part).jld2")
# cubes
cubes = loadCubes(cubefn)
level.cubes = cubes
Expand Down

2 comments on commit 72a16b7

@deltaeecs
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/84403

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" 72a16b78eac4810af8b3ce927c0fb8efc0fff863
git push origin v0.1.0

Please sign in to comment.