Closed mazzalab closed 4 years ago
Line 227: calling if not sp_matrix: causes ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
if not sp_matrix:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
replace with: if sp_matrix is None:
if sp_matrix is None:
Fixed and will be released in version 1.2
Line 227: calling
if not sp_matrix:
causesValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
replace with:
if sp_matrix is None: