Skip to content

Commit 4873b8d

Browse files
committed
Fix another error in simple_math example
1 parent e304359 commit 4873b8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/ndarray_for_numpy_users/simple_math.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@
7979
//! // Add b to a (broadcasting to rows).
8080
//! let c = a + &b;
8181
//!
82-
//! // Matrix product of c transpose with a.
83-
//! let d = c.t().dot(&a);
82+
//! // Matrix product of c transpose with c.
83+
//! let d = c.t().dot(&c);
8484
//! # }
8585
//! ```
8686
//!

0 commit comments

Comments
 (0)