Skip to content

Commit

Permalink
[metal] Fix error message (#1916)
Browse files Browse the repository at this point in the history
* [metal] Fix error message

* grammar
  • Loading branch information
k-ye authored Oct 3, 2020
1 parent a1c6d7c commit edf7f69
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions taichi/backends/metal/struct_metal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,8 @@ class StructCompiler {
emit("}};");
} else {
TI_ERROR(
"SNodeType={} not supported on OpenGL\n"
"Consider use ti.init(ti.cpu) or ti.init(ti.cuda) if you "
"want to use sparse data structures",
"SNodeType={} not supported on Metal.\nConsider using "
"ti.init(ti.cpu) if you want to use sparse data structures.",
snode_type_name(snode.type));
}
emit("");
Expand Down

0 comments on commit edf7f69

Please sign in to comment.