diff --git a/docs/syntax.rst b/docs/syntax.rst index 7261773a8bcb0..584722e442a50 100644 --- a/docs/syntax.rst +++ b/docs/syntax.rst @@ -1,5 +1,3 @@ -.. _syntax: - Syntax ====== diff --git a/taichi/backends/cc/runtime/base.h b/taichi/backends/cc/runtime/base.h index 609cc66740933..9d16776eb3d93 100644 --- a/taichi/backends/cc/runtime/base.h +++ b/taichi/backends/cc/runtime/base.h @@ -83,7 +83,6 @@ static inline Ti_f32 Ti_rand_f32(void) { return (Ti_f32) drand48(); // [0.0, 1.0) } -) "\n" STR( ) #define _CC_INSIDE_KERNEL diff --git a/taichi/transforms/reverse_segments.cpp b/taichi/transforms/reverse_segments.cpp index e6868d2cb47aa..59212f142a112 100644 --- a/taichi/transforms/reverse_segments.cpp +++ b/taichi/transforms/reverse_segments.cpp @@ -68,7 +68,7 @@ void reverse_segments(IRNode *root) { "Invalid program input for autodiff. Please check the documentation " "for the \"Kernel Simplicity Rule\":\n" "https://taichi.readthedocs.io/en/stable/" - "differentiable_programming.html#simplicity_rule"); + "autodiff.html#simplicity_rule"); for (auto &sblock : statement_blocks) { for (auto &&s : sblock) { block->statements.push_back(std::move(s));