From 9cc01fa19b32694002ac92dd488f9a288c091207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pawela?= Date: Wed, 24 Apr 2024 16:52:48 +0200 Subject: [PATCH] fix tensor sizes --- Project.toml | 2 +- src/contractions/virtual.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index eea51d8..65ff91c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "SpinGlassTensors" uuid = "7584fc6a-5a23-4eeb-8277-827aab0146ea" authors = ["Anna Maria Dziubyna ", "Tomasz Śmierzchalski ", "Bartłomiej Gardas ", "Konrad Jałowiecki ", "Łukasz Pawela ", "Marek M. Rams "] -version = "1.1.0" +version = "1.1.1" [deps] CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" diff --git a/src/contractions/virtual.jl b/src/contractions/virtual.jl index 78d6f57..229aa30 100644 --- a/src/contractions/virtual.jl +++ b/src/contractions/virtual.jl @@ -270,7 +270,7 @@ function update_env_right( tmp1 = alloc_zeros(R, onGPU, (srb, srpb * srpct)) tmp2 = alloc_undef(R, onGPU, (slb * slpb, srpct)) - tmp3 = alloc_zeros(R, onGPU, (slb * slpb, srpc, srpt)) + tmp3 = alloc_zeros(R, onGPU, (slb * slpb, srpc * srpt)) tmp5 = alloc_undef(R, onGPU, (slb * slpb, slpc, srpt)) tmp8 = alloc_undef(R, onGPU, (slb * slpbc, slpt))