Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
will-cromar committed Nov 29, 2023
1 parent e379c6f commit 0e06652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_xla/csrc/runtime/runtime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ComputationClient* GetComputationClient(bool create = true) {
static std::unique_ptr<ComputationClient> client = nullptr;
if (!client && create) {
static std::once_flag flag;
std::call_once(flag, [](){ client = CreateClient(); });
std::call_once(flag, []() { client = CreateClient(); });
}
return client.get();
}
Expand Down

0 comments on commit 0e06652

Please sign in to comment.