From f1a2537fbb09dafad872131eb030e8ee498cf8c0 Mon Sep 17 00:00:00 2001
From: Franck Dary <franck.dary@lis-lab.fr>
Date: Sun, 29 Mar 2020 17:11:42 +0200
Subject: [PATCH] Removed check for existing line in addHypothesis because it
 conflicted with transition splitword

---
 reading_machine/src/Action.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/reading_machine/src/Action.cpp b/reading_machine/src/Action.cpp
index 4dc7d6f..5c68d39 100644
--- a/reading_machine/src/Action.cpp
+++ b/reading_machine/src/Action.cpp
@@ -127,9 +127,9 @@ Action Action::addHypothesis(const std::string & colName, std::size_t lineIndex,
     config.getLastNotEmpty(colName, lineIndex) = "";
   };
 
-  auto appliable = [colName, lineIndex](const Config & config, const Action &)
+  auto appliable = [](const Config &, const Action &)
   {
-    return config.has(colName, lineIndex, 0);
+    return true;
   };
 
   return {Type::Write, apply, undo, appliable}; 
-- 
GitLab