diff --git a/Project.toml b/Project.toml index 4a04282..9dc89ea 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "LatticeQCD" uuid = "8a12f9b3-8daf-4285-9aa6-f1d88d857ae8" authors = ["Akio Tomiya", "Yuki Nagai"] -version = "1.0.9" +version = "1.1.0" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" diff --git a/src/system/lqcd.jl b/src/system/lqcd.jl index 642e6f7..e3e9054 100644 --- a/src/system/lqcd.jl +++ b/src/system/lqcd.jl @@ -75,16 +75,17 @@ function run_LQCD_file(filenamein::String; MPIparallel=false) measurements = Measurement_methods(univ.U, parameters.measuredir, parameters.measurement_methods) + plaq_m = Plaquette_measurement(univ.U, printvalues=false) i_plaq = 0 for i = 1:measurements.num_measurements - if typeof(measurements.measurements[i]) == Plaquette_measurement + if isa(measurements.measurements[i], Plaquette_measurement) i_plaq = i plaq_m = measurements.measurements[i] end end - if i_plaq == 0 - plaq_m = Plaquette_measurement(univ.U, printvalues=false) - end + #if i_plaq == 0 + # plaq_m = Plaquette_measurement(univ.U, printvalues=false) + #end measurements_for_flow = Measurement_methods(univ.U, parameters.measuredir, parameters.measurements_for_flow)