diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2019-04-20 14:24:53 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2019-04-20 14:24:53 +0200 |
commit | 4cde8f76d5dd3b27f91249efbf6a48be90603982 (patch) | |
tree | f11b0ec1d40c169b9ee918a14695e4f0288f4e06 | |
parent | 725f9dec4e7927297938ee99faa5400d9af3be9f (diff) |
Compile using nvcc
-rw-r--r-- | aberth/aberth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aberth/aberth.cpp b/aberth/aberth.cpp index 02768e2..30f40f6 100644 --- a/aberth/aberth.cpp +++ b/aberth/aberth.cpp @@ -283,7 +283,7 @@ static tuple<int, int, vector<int>> computeCounts() { nextDerbyshire(poly); } - lock_guard guard(countsMutex); + lock_guard<mutex> guard(countsMutex); for (int i = 0; i < W * H; i++) counts[i] += localCounts[i]; }); } |