From 4f918383e5039cf8906aa8430e59e12995c73064 Mon Sep 17 00:00:00 2001 From: Johannes Terblanche <6612981+Affie@users.noreply.github.com> Date: Thu, 12 Oct 2023 19:45:58 +0200 Subject: [PATCH] Fix unnecessary allocations in distGauss! (#96) * Fix unnecessary allocations in distGauss! * === for symbol --- src/DualTree01.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DualTree01.jl b/src/DualTree01.jl index cdd0ac5..c83b7b6 100644 --- a/src/DualTree01.jl +++ b/src/DualTree01.jl @@ -21,7 +21,7 @@ function distGauss!(restmp::Array{Float64, 1}, mainop=(-,), diffop=(-,), saturate::Bool=false, - isX86Arch::Bool= (Base.Sys.ARCH in [:x86_64;]) ) + isX86Arch::Bool= (Base.Sys.ARCH === :x86_64) ) # # internal helper to for IR optimization to remove