AmyOlex / Chrono

Parsing time normalizations from text.
GNU General Public License v3.0
15 stars 4 forks source link

Index out of bounds when deleting both a Time zone and a AMPM #42

Closed AmyOlex closed 6 years ago

AmyOlex commented 6 years ago

There is an instance where both a FP time zone and a FP AMPM are identified and then deleted in the subinterval linking method. However, once one is deleted the array become shorter and we have to re-index all the entities before moving on.

AmyOlex commented 6 years ago

Got this fixed. Just had to reindex the array before looking for time zones.