From 399940370b597d3994a08f3b961797f59f8fbe1b Mon Sep 17 00:00:00 2001
From: Tim Jammer <tim.jammer@tu-darmstadt.de>
Date: Mon, 8 Jul 2024 15:58:46 +0200
Subject: [PATCH] fix typo

---
 scripts/Infrastructure/Template.py  | 2 +-
 scripts/errors/pt2pt/InvalidComm.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/Infrastructure/Template.py b/scripts/Infrastructure/Template.py
index 2fc546182..69429c461 100644
--- a/scripts/Infrastructure/Template.py
+++ b/scripts/Infrastructure/Template.py
@@ -294,7 +294,7 @@ class TemplateManager:
         assert self._descr_short != ""
         return self._descr_short
 
-    def set_cad_deadlock(self, can_deadlock=True):
+    def set_can_deadlock(self, can_deadlock=True):
         self._can_deadlock = can_deadlock
 
     def get_instruction(self, identifier: str = None, return_list=False, rank_excuting: int | str = None,
diff --git a/scripts/errors/pt2pt/InvalidComm.py b/scripts/errors/pt2pt/InvalidComm.py
index 85dfc995c..58aeecb3d 100644
--- a/scripts/errors/pt2pt/InvalidComm.py
+++ b/scripts/errors/pt2pt/InvalidComm.py
@@ -74,7 +74,7 @@ class InvalidCommErrorP2P(ErrorGenerator):
 
                 tm = get_invalid_param_p2p_case("comm", comm_to_use, check_recv, send_func, recv_func)
 
-                tm.set_cad_deadlock()# deadlock if msg is send one one comm and not received on the other comm
+                tm.set_can_deadlock()# deadlock if msg is send one one comm and not received on the other comm
                 # deadlock can be considered  to occur even if comm=NULL as send/receive will not be matched
 
                 error_string = "ParamMatching"
-- 
GitLab