From 2b181a266c3f0e78e37c2276bc3f6e1a7807a141 Mon Sep 17 00:00:00 2001 From: Ye Kuang Date: Thu, 2 Jul 2020 20:57:50 +0900 Subject: [PATCH] [bug] Fix master due to compilation error (#1375) --- taichi/ir/expr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/taichi/ir/expr.cpp b/taichi/ir/expr.cpp index 20ea0cd594fbe..552e029bcf6d4 100644 --- a/taichi/ir/expr.cpp +++ b/taichi/ir/expr.cpp @@ -179,9 +179,9 @@ Expr load(const Expr &ptr) { Expr ptr_if_global(const Expr &var) { if (var.is()) { // singleton global variable - TI_ASSERT_INFO( - var.snode()->num_active_indices == 0, - "Please always use 'x[None]' (instead of simply 'x') to access any 0-D tensor." + TI_ASSERT_INFO(var.snode()->num_active_indices == 0, + "Please always use 'x[None]' (instead of simply 'x') to " + "access any 0-D tensor."); return var[ExprGroup()]; } else { // may be any local or global expr