From 09b2b5be585182177478d848df75a3be3d7af297 Mon Sep 17 00:00:00 2001 From: Markus Holzer <markus.holzer@fau.de> Date: Wed, 23 Mar 2022 07:37:09 +0100 Subject: [PATCH] Fixes Index Vector comparison --- python/pystencils_walberla/templates/Boundary.tmpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pystencils_walberla/templates/Boundary.tmpl.h b/python/pystencils_walberla/templates/Boundary.tmpl.h index daf3e0c96..8a673d32e 100644 --- a/python/pystencils_walberla/templates/Boundary.tmpl.h +++ b/python/pystencils_walberla/templates/Boundary.tmpl.h @@ -70,7 +70,7 @@ public: }; IndexVectors() = default; - bool operator==(IndexVectors & other) { return other.cpuVectors_ == cpuVectors_; } + bool operator==(IndexVectors const &other) const { return other.cpuVectors_ == cpuVectors_; } {% if target == 'gpu' -%} ~IndexVectors() { -- GitLab