aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow
diff options
context:
space:
mode:
authorGravatar Anna R <annarev@google.com>2018-07-10 20:44:08 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-10 20:48:08 -0700
commit396bb5ff1594dffa3b54162be7288ba0856a1b79 (patch)
tree97e0f3272735f248fc9d06c5ea58af0ea7977818 /tensorflow
parentb9827002dc5ab01b183773c4dc5551e04058357a (diff)
Fix build.
PiperOrigin-RevId: 204060973
Diffstat (limited to 'tensorflow')
-rw-r--r--tensorflow/compiler/xla/service/llvm_ir/ir_array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/compiler/xla/service/llvm_ir/ir_array.h b/tensorflow/compiler/xla/service/llvm_ir/ir_array.h
index 5135233aa8..0777c49923 100644
--- a/tensorflow/compiler/xla/service/llvm_ir/ir_array.h
+++ b/tensorflow/compiler/xla/service/llvm_ir/ir_array.h
@@ -119,7 +119,7 @@ class IrArray {
void push_back(llvm::Value* value) { mutable_multidim().push_back(value); }
void InsertAt(int64 index, llvm::Value* value) {
CHECK_LE(index, size());
- mutable_multidim().insert(multidim().begin() + index, value);
+ mutable_multidim().insert(mutable_multidim().begin() + index, value);
}
using iterator = std::vector<llvm::Value*>::iterator;