Skip to content

Commit

Permalink
Merge pull request #5770 from BOINC/dpa_count_fix
Browse files Browse the repository at this point in the history
client: fix crashing bug
  • Loading branch information
AenBleidd committed Aug 20, 2024
2 parents 33f2ce6 + 0a8d7a6 commit 94b2e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/rr_sim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ void rr_simulation(const char* why) {
//
int n_idle_resources() {
int nidle_rsc = 0;
coprocs.coprocs[0] = gstate.n_usable_cpus;
coprocs.coprocs[0].count = gstate.n_usable_cpus;
for (int i=0; i<coprocs.n_rsc; i++) {
int c = coprocs.coprocs[i].count;
rsc_work_fetch[i].nidle_now = c;
Expand Down

0 comments on commit 94b2e6b

Please sign in to comment.