mapalign
mapalign copied to clipboard
remove flatten method
once numpy array "L_alpha" is summed over its axis=1, it already collapses into a 1 dimensional form, so there is no need to flatten it additionally
are you testing with both sparse and dense matrices?