From 16dcd3474774170e45a0e3302001b67c421d0b9e Mon Sep 17 00:00:00 2001
From: tg-at-google <taregaskin@google.com>
Date: Wed, 15 Jul 2020 11:17:35 -0400
Subject: [PATCH] Update bcast.h

---
 tensorflow/core/util/bcast.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tensorflow/core/util/bcast.h b/tensorflow/core/util/bcast.h
index 4337b0dc4fe..0a2c68d3f82 100644
--- a/tensorflow/core/util/bcast.h
+++ b/tensorflow/core/util/bcast.h
@@ -176,7 +176,7 @@ BCastList<N>::BCastList(const BCastList::Vec (&x)[N],
 
   // 1-extend and align all vectors.
   for (int i = 0; i < N; ++i) {
-    if (copy_i_size < largest_rank) {
+    if (copy[i].size() < largest_rank) {
       copy[i].resize(largest_rank, 1);
     }
   }