ostafen / smart

String Matching Algorithms Research Tool
https://smart-tool.github.io/smart/
GNU General Public License v3.0
4 stars 2 forks source link

Small bug - messages wrong way around. #60

Closed nishihatapalmer closed 1 year ago

nishihatapalmer commented 1 year ago

In run.h, the messages for get_num_patterns are the wrong way around.

The message for a null pattern should have the pattern lengths message, and vice versa.

nishihatapalmer commented 1 year ago

Ironically, this was also the cause of the seg fault in run - it wasn't only the messages that were the wrong way around, it was the number of patterns to process. Fixed by #61