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
since v is sorted this always sets the last sn_ram elements of where to true, and the other elements to false, irrespective of the result of get_write_and_read_counts.
I think v should be copied before the sort (e.g. into w), and then the conditional replaced with
if(w[i]>=mid && num<sn_ram)
The text was updated successfully, but these errors were encountered:
In initialization of multistage checkpointing
pyrevolve/src/revolve.cpp
Lines 1170 to 1185 in 23dea91
since
v
is sorted this always sets the lastsn_ram
elements ofwhere
totrue
, and the other elements tofalse
, irrespective of the result ofget_write_and_read_counts
.I think
v
should be copied before thesort
(e.g. intow
), and then the conditional replaced withThe text was updated successfully, but these errors were encountered: