Skip to content

Commit

Permalink
Move div_op.py to future_div_op.py.
Browse files Browse the repository at this point in the history
pycppad.cpp: Fix move future_div_op doc from unary to numeric operator.
  • Loading branch information
bradbell committed May 29, 2014
1 parent 3be6a26 commit 3c8b6be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example/div_op.py → example/future_div_op.py
Expand Up @@ -6,7 +6,7 @@
# $index /, future example$$
#
# $code
# $verbatim%example/div_op.py%0%# BEGIN CODE%# END CODE%1%$$
# $verbatim%example/future_div_op.py%0%# BEGIN CODE%# END CODE%1%$$
# $$
# $end
# BEGIN CODE
Expand Down
10 changes: 6 additions & 4 deletions pycppad/pycppad.cpp
Expand Up @@ -37,8 +37,7 @@ In this case, the result $icode z$$ is an array with the same shape
and element type as $icode x$$.
$children%
example/ad_unary.py%
example/div_op.py
example/ad_unary.py
%$$
$head Example$$
The file $cref ad_unary.py$$
Expand Down Expand Up @@ -115,11 +114,14 @@ The type of the elements of $icode z$$ correspond to the table above
this only refers to the element types matching as instances).
$children%
example/ad_numeric.py
example/ad_numeric.py%
example/future_div_op.py
%$$
$head Example$$
The file $cref ad_numeric.py$$
contains an example and test of $code abs$$.
contains an example and test of these operations.
The file $cref future_div_op.py$$ contains an example and test of the
$href%http://legacy.python.org/dev/peps/pep-0238/%future division operator%$$
$end
---------------------------------------------------------------------------
Expand Down

0 comments on commit 3c8b6be

Please sign in to comment.