1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

Revert "Erase the feature vectors from the copied portions of the diff."

This reverts commit 0e4d3fd887004941f92747f17538ec73a6e3095e.
This commit is contained in:
Rob Rix 2017-02-07 15:38:37 -05:00
parent 1598b2b417
commit 7d25fb7103

View File

@ -110,7 +110,7 @@ rws compare as bs
compared <- compare a b
pure $! do
put (i, IntMap.delete i unmappedA, IntMap.delete j unmappedB)
pure (These i j, mapAnnotations (`setFeatureVector` Nothing) compared)
pure (These i j, compared)
-- Returns a state (insertion index, old unmapped terms, new unmapped terms), and value of (index, inserted diff),
-- given a previous index, two sets of umapped terms, and an unmapped term to insert.