Skip to content

Commit 16d6363

Browse files
tatatupitdegeus
andauthored
Update docs/source/usage.rst
Improving output clarity, according @tdegeus suggestion Co-authored-by: Tom de Geus <tdegeus@users.noreply.github.com>
1 parent d61b9ff commit 16d6363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ returning a ``std::tuple``, which can be unpacked using ``std::get<N>(tuple)``.
4949
5050
xt::xarray<double> a = {{3, 2, 1}, {0, 4, 2}, {1, 3, 5}};
5151
auto d = xt::linalg::slogdet(a);
52-
std::cout << std::get<0>(d) << ", " << std::get<1>(d) << std::endl; // 1.0000000, 3.7376696
52+
std::cout << std::get<0>(d) << ", " << std::get<1>(d) << std::endl; // +1, 3.7376696
5353
5454
Returning tuples is used throughout the xlinalg package.
5555

0 commit comments

Comments
 (0)