-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
File "D:/dev/ntf-school-master/ntf-school-master/ncp.py", line 75, in normalEqComb
elif PassSet == None or np.all(PassSet):
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
so I change ' PassSet == None ' to ' PassSet is None '
then new error occured
File "D:/dev/ntf-school-master/ntf-school-master/ncp.py", line 133, in column_group_sub
col_falses = cols[(-vec).nonzero()[0]]
TypeError: The numpy boolean negative, the `-` operator, is not supported, use the `~` operator or the logical_not function instead.
I change ‘-’ to ‘~’
it worked!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels