trink / symtseries

C Library providing means of symbolic analysis on time series data currently based on iSAX paper (http://www.cs.ucr.edu/~eamonn/iSAX/iSAX.html)
Mozilla Public License 2.0
3 stars 3 forks source link

sax.word.new(s,c) should not take string shorter than 2 characters #29

Closed trink closed 9 years ago

trink commented 9 years ago

sw = sax.word.new("", 5)

This leads to implementation defined behaviour here: https://github.com/Quadrocube/symtseries/blob/Lua/cleanup/src/symtseries.c#L394