Skip to content

Commit

Permalink
1. fix testsets;
Browse files Browse the repository at this point in the history
2. remove limitiation of LLVM version
  • Loading branch information
A-LOST-WAPITI committed Oct 14, 2024
1 parent e37c2ae commit c38f60e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 38 deletions.
1 change: 0 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,4 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
UnitfulAtomic = "a7773ee8-282e-5fa2-be4e-bd808c38a91a"

[compat]
LLVM = "6"
julia = ">= 1.9"
2 changes: 1 addition & 1 deletion src/extensions/mc/Utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module MCUtils
]
color_check_mat, colors = color_check(x_lattice, y_lattice, equal_points_idx)

return mcconfig, color_check_mat, colors
return color_check_mat, colors
end

function color_check(x_lattice, y_lattice, equal_points_idx)
Expand Down
34 changes: 0 additions & 34 deletions test/Manifest.toml

This file was deleted.

4 changes: 2 additions & 2 deletions test/mc_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
mc_config = Sym4state.MC.load_config("mc_tomls/CrI3_N.TOML")

@testset "Checkerboard" begin
_, _, colors = Sym4state.MC.MCUtils.domain_decompose(mc_config)
_, colors = Sym4state.MC.MCUtils.domain_decompose!(mc_config)
@test length(colors) == 2
end
end
Expand All @@ -11,7 +11,7 @@ end
mc_config = Sym4state.MC.load_config("mc_tomls/NiI2_NNN.TOML")

@testset "Checkerboard" begin
_, _, colors = Sym4state.MC.MCUtils.domain_decompose(mc_config)
_, colors = Sym4state.MC.MCUtils.domain_decompose!(mc_config)
@test length(colors) == 12
end
end

0 comments on commit c38f60e

Please sign in to comment.