You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this way n_reveal[i] is a cint type of data and can't be conditioned, if I convert the condition from n_reveal[i] to n_reveal[i]==1, but n_reveal[i]==1 is of type regint and not of type bool. So what should I do to convert to a bool type condition to get the final idx_list
The text was updated successfully, but these errors were encountered:
n is a sintbit.Array, and I want to iterate through each n[i] to determine whether to perform later operations:
In this way
n_reveal[i]
is a cint type of data and can't be conditioned, if I convert the condition fromn_reveal[i]
ton_reveal[i]==1
, butn_reveal[i]==1
is of typeregint
and not of typebool
. So what should I do to convert to a bool type condition to get the finalidx_list
The text was updated successfully, but these errors were encountered: