Skip to content

Commit

Permalink
revert 2
Browse files Browse the repository at this point in the history
  • Loading branch information
archibate committed Aug 24, 2020
1 parent 9f047e7 commit b81725f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions docs/syntax.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. _syntax:

Syntax
======

Expand Down
1 change: 0 additions & 1 deletion taichi/backends/cc/runtime/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion taichi/transforms/reverse_segments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit b81725f

Please sign in to comment.