Skip to content

Commit

Permalink
Change the element-wise multiply operator to the matrix multiply oper…
Browse files Browse the repository at this point in the history
…ator.
  • Loading branch information
hazcat committed Aug 30, 2020
1 parent bcfb8e9 commit 510273c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CH01/CH01_SEC04_2_Cement.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"# x = regress(b,A)\n",
"\n",
"# Alternative 2:\n",
"x = np.linalg.pinv(A)*b"
"x = np.linalg.pinv(A)@b"
]
},
{
Expand Down

0 comments on commit 510273c

Please sign in to comment.