Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
archibate committed Jul 2, 2020
1 parent c7284d8 commit 65ad3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taichi/ir/expr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Expr ptr_if_global(const Expr &var) {
// 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."
"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
Expand Down

0 comments on commit 65ad3c5

Please sign in to comment.