Commit fd3df0e9 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX] Patch Scores: Nothing Nothing case

parent 11163872
......@@ -83,8 +83,8 @@ addScorePatch fl (NgramsTerm p, NgramsPatch children' Patch.Keep) =
-- | Removing a child
add' fl' (NgramsTerm t, Patch.Replace (Just _) Nothing) = doLink (-1) p t fl'
-- | Maybe TODO
add' _ _ = panic "[G.C.T.L.S.P.addScorePatch] This case should not happen"
-- | This case should not happen: does Nothing
add' fl' _ = fl'
-- | Inserting a new Ngrams
addScorePatch fl (NgramsTerm t, NgramsReplace Nothing (Just nre)) =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment