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
the return sentence return cached_sigmoid[int((x + MAX_SIGMOID) * SIGMOID_TABLE_SIZE / MAX_SIGMOID / 2)];
lead to Segmentation Fault (core dumped)
after I change the sentence to return cached_sigmoid[int(int(x + MAX_SIGMOID) * SIGMOID_TABLE_SIZE / MAX_SIGMOID / 2)];
it run correctly.
The text was updated successfully, but these errors were encountered:
the return sentence
return cached_sigmoid[int((x + MAX_SIGMOID) * SIGMOID_TABLE_SIZE / MAX_SIGMOID / 2)];
lead to Segmentation Fault (core dumped)
after I change the sentence to
return cached_sigmoid[int(int(x + MAX_SIGMOID) * SIGMOID_TABLE_SIZE / MAX_SIGMOID / 2)];
it run correctly.
The text was updated successfully, but these errors were encountered: