Skip to content

Commit

Permalink
FxCalculator global init fix for race condition with multiple threads (
Browse files Browse the repository at this point in the history
  • Loading branch information
madMAx43v3r committed Jan 9, 2022
1 parent b0e9856 commit b1973a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calculate_bucket.hpp
Expand Up @@ -209,8 +209,8 @@ class FxCalculator {

this->rmap.resize(kBC);
if (!initialized) {
initialized = true;
load_tables();
initialized = true;
}
}

Expand Down

0 comments on commit b1973a3

Please sign in to comment.