From 72e401b8115f2bf169eb8c8cf2d9c6093ebd1646 Mon Sep 17 00:00:00 2001 From: Sam Quinn Date: Mon, 17 Jul 2023 17:36:58 -0400 Subject: [PATCH] Fix `spin_matrices` call in `StructureFactor` Hopefully the last commit required to make docs build, at least --- src/StructureFactors/StructureFactors.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StructureFactors/StructureFactors.jl b/src/StructureFactors/StructureFactors.jl index d2e3e848f..6863238bd 100644 --- a/src/StructureFactors/StructureFactors.jl +++ b/src/StructureFactors/StructureFactors.jl @@ -125,7 +125,7 @@ function StructureFactor(sys::System{N}; Δt, nω, measperiod, # SQTODO: Make this use the more optimized expected_spin function # Doing this will also, by necessity, allow users to make the same # type of optimization for their vector-valued observables. - observables = LinearMap{ComplexF64}.(spin_matrices(N)) + observables = LinearMap{ComplexF64}.(spin_matrices(;N)) end else # If it was given as a list, preserve the user's preferred