Matcher segfaults if a dummy HTM object isn't created first
erykoff opened this issue · comments
erykoff commented
The following code snippet seg-faults (a fresh python instance):
import esutil
import numpy as np
m=esutil.htm.Matcher(10,np.array([10.0]),np.array([10.0]))
But initializing a dummy object first works:
import esutil
import numpy as np
h=esutil.htm.HTM(10)
m=esutil.htm.Matcher(10,np.array([10.0]),np.array([10.0]))
Erin Sheldon commented
Fixed in master, please give it a try.
erykoff commented
No more segfault!