From 42430bc2f527cfe5388c26aa981ebd0eca585b77 Mon Sep 17 00:00:00 2001 From: Ryan Levy Date: Thu, 6 Apr 2023 12:01:33 -0400 Subject: [PATCH 1/2] Fix periodic square lattice point --- src/physics/lattices.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physics/lattices.jl b/src/physics/lattices.jl index 42280edc6a..54b3c635f6 100644 --- a/src/physics/lattices.jl +++ b/src/physics/lattices.jl @@ -86,7 +86,7 @@ function square_lattice(Nx::Int, Ny::Int; kwargs...)::Lattice latt[b += 1] = LatticeBond(n, n + 1, x, y, x, y + 1) end if yperiodic && y == 1 - latt[b += 1] = LatticeBond(n, n + Ny - 1, x, y, x, y + Ny) + latt[b += 1] = LatticeBond(n, n + Ny - 1, x, y, x, y + Ny - 1) end end end From 32ff59f22545cf6a082906acfe4f59c0cba36d13 Mon Sep 17 00:00:00 2001 From: CompatHelper Julia Date: Wed, 19 Apr 2023 00:48:47 +0000 Subject: [PATCH 2/2] CompatHelper: bump compat for Strided to 2 for package NDTensors, (keep existing compat) --- NDTensors/Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NDTensors/Project.toml b/NDTensors/Project.toml index 02fc29b4fa..418969d45a 100644 --- a/NDTensors/Project.toml +++ b/NDTensors/Project.toml @@ -33,7 +33,7 @@ Requires = "1.1" SimpleTraits = "0.9.4" SplitApplyCombine = "1.2.2" StaticArrays = "0.12, 1.0" -Strided = "0.3, 1" +Strided = "0.3, 1, 2" TimerOutputs = "0.5.5" TupleTools = "1.2.0" julia = "1.6"