diff --git a/xml/chapter2/section2/subsection3.xml b/xml/chapter2/section2/subsection3.xml
index 3331fe549..2db0d0309 100644
--- a/xml/chapter2/section2/subsection3.xml
+++ b/xml/chapter2/section2/subsection3.xml
@@ -1451,7 +1451,7 @@ function matrix_times_vector(m, v) {
function transpose(mat) {
return accumulate_n(??, ??, mat);
}
-function matrix_times_matrix(n, m) {
+function matrix_times_matrix(m, n) {
const cols = transpose(n);
return map(??, m);
}