lcp_int returned an array with no useful data (constant zeros).
I had a look into the code and found a suspicious line:
|
T = pyvector_to_Carrayptrs(SA_np); |
T = pyvector_to_Carrayptrs(SA_np);
This looks obviously wrong. Correcting it to
T = pyvector_to_Carrayptrs(T_np);
gives me better results.
Now I am wondering, am I the first one to even use this function? Might there be other glitches hidden noone ever found due to lack of testing? Is this project still alive? It would be a pity of not, because I think it is really cool!
Best regards and thanks, Andreas
lcp_int returned an array with no useful data (constant zeros).
I had a look into the code and found a suspicious line:
PySAIS/pysais.c
Line 290 in bc27f42
T = pyvector_to_Carrayptrs(SA_np);
This looks obviously wrong. Correcting it to
T = pyvector_to_Carrayptrs(T_np);
gives me better results.
Now I am wondering, am I the first one to even use this function? Might there be other glitches hidden noone ever found due to lack of testing? Is this project still alive? It would be a pity of not, because I think it is really cool!
Best regards and thanks, Andreas