Skip to content

Commit

Permalink
Merge pull request #68 from akio-tomiya/1.3.0
Browse files Browse the repository at this point in the history
error messsage in JLD is modified
  • Loading branch information
cometscome authored Dec 17, 2024
2 parents 9858c41 + ba22a5a commit 7526718
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "LatticeQCD"
uuid = "8a12f9b3-8daf-4285-9aa6-f1d88d857ae8"
authors = ["Akio Tomiya", "Yuki Nagai"]
version = "1.3.1"
version = "1.3.2"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
4 changes: 3 additions & 1 deletion src/system/universe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ function Univ(p::Params; MPIparallel=false, PEs=nothing)
elseif p.loadU_format == "JLD"
filename = p.initial
U = loadU(filename)
elseif p.loadU_format == nothing
error("loadU_format is not specified. Please add loadU_format in System Control. loadU_format should be ILDG, BridgeText or JLD")
else
error("loadU_format should be ILDG or BridgeText. Now $(p.loadU_format)")
error("loadU_format should be ILDG, BridgeText or JLD. Now $(p.loadU_format). Please check loadU_format in System Control")
end
end
#println_verbose_level1(verbose_print, "..... test mode")
Expand Down

0 comments on commit 7526718

Please sign in to comment.