From efa929a07c61bdeb1bc93753cf0d3c3a92dc7c59 Mon Sep 17 00:00:00 2001
From: Romeo <r.haak@student.ru.nl>
Date: Sat, 30 Nov 2019 18:30:24 +0100
Subject: [PATCH] Added doc and fixed a bug

---
 umbra/anchor_algorithm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/umbra/anchor_algorithm.py b/umbra/anchor_algorithm.py
index 680cc1cf..38d97004 100644
--- a/umbra/anchor_algorithm.py
+++ b/umbra/anchor_algorithm.py
@@ -86,7 +86,7 @@ class AnchorAlgorithm(AlignmentStrategy):
                         competing_over = shd_word
         # If true, then competing_over was wrongly flagged as correct:
         if competing_over is not None:
-            competing_over.source().shadowed = False
+            competing_over.source.shadowed = False
             competing_over.source = src_word  # Shadow to new source word
             src_word.shadowed = True
 
-- 
GitLab