Skip to content

Commit e9fcaea

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 16d6363 commit e9fcaea

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
@@ -37,7 +37,7 @@ For example, calculating a determinant:
3737
{
3838
xt::xarray<double> a = {{3, 2, 1}, {0, 4, 2}, {1, 3, 5}};
3939
auto d = xt::linalg::det(a);
40-
std::cout << d << std::endl; // 42.000000
40+
std::cout << d << std::endl; // 42.0
4141
}
4242
4343
We can also try to compute the same determinant using the ``slogdet`` function, which

0 commit comments

Comments
 (0)