diff options
author | MathieuCarriere <mathieu.carriere3@gmail.com> | 2022-03-02 15:31:36 +0100 |
---|---|---|
committer | MathieuCarriere <mathieu.carriere3@gmail.com> | 2022-03-02 15:31:36 +0100 |
commit | af1bdcad5e8638ba9aa8b381aaabd5fc9cc5ae4e (patch) | |
tree | b7e3ae798669c6aae3550600c150cd0a4398c106 /src/python/doc/rips_complex_tflow_itf_ref.rst | |
parent | 783945bdb55b4cbb8aa19e5055f5e20f4dcd0056 (diff) |
fix sphinx test for rips
Diffstat (limited to 'src/python/doc/rips_complex_tflow_itf_ref.rst')
-rw-r--r-- | src/python/doc/rips_complex_tflow_itf_ref.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/python/doc/rips_complex_tflow_itf_ref.rst b/src/python/doc/rips_complex_tflow_itf_ref.rst index 83421b2a..6974f92d 100644 --- a/src/python/doc/rips_complex_tflow_itf_ref.rst +++ b/src/python/doc/rips_complex_tflow_itf_ref.rst @@ -11,7 +11,6 @@ Example of gradient computed from Vietoris-Rips persistence ----------------------------------------------------------- .. testsetup:: - :hide: import numpy numpy.set_printoptions(precision=4) @@ -30,6 +29,9 @@ Example of gradient computed from Vietoris-Rips persistence grads = tape.gradient(loss, [X]) print(grads[0].numpy()) +.. testcleanup:: + numpy.set_printoptions(precision=8) + .. testoutput:: [[-0.5 -0.5] |