diff options
author | 2018-04-20 13:54:00 -0700 | |
---|---|---|
committer | 2018-04-20 13:56:27 -0700 | |
commit | 5a4356be6822dfe0b0f973852b9b65d69e4c169c (patch) | |
tree | c3f69c7c53c0d8ca5cf1cbe44b54969443a1343f /tensorflow/python/lib | |
parent | 99167d3a6393ac47c2e01b6f620a03adeb9ac3e4 (diff) |
Fix for: Suggest braces around initialization of subobject.
PiperOrigin-RevId: 193717872
Diffstat (limited to 'tensorflow/python/lib')
-rw-r--r-- | tensorflow/python/lib/core/bfloat16.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/lib/core/bfloat16.cc b/tensorflow/python/lib/core/bfloat16.cc index 7f07deebef..77fa2c1f66 100644 --- a/tensorflow/python/lib/core/bfloat16.cc +++ b/tensorflow/python/lib/core/bfloat16.cc @@ -616,8 +616,8 @@ bool Initialize() { }; // Comparisons - const std::array<int, 3> compare_types = {npy_bfloat16_, npy_bfloat16_, - NPY_BOOL}; + const std::array<int, 3> compare_types = { + {npy_bfloat16_, npy_bfloat16_, NPY_BOOL}}; if (!register_ufunc("equal", CompareUFunc<Bfloat16EqFunctor>, compare_types)) { |