diff --git a/11 - Factorizations and other fun.ipynb b/11 - Factorizations and other fun.ipynb index ce9be46..69bcbd6 100644 --- a/11 - Factorizations and other fun.ipynb +++ b/11 - Factorizations and other fun.ipynb @@ -912,7 +912,7 @@ }, "outputs": [], "source": [ - "@assert A_eigv == [-128.49322764802145, -55.887784553056875, 42.7521672793189, 87.16111477514521, 542.4677301466143]" + "@assert A_eigv ≈ [-128.49322764802145, -55.887784553056875, 42.7521672793189, 87.16111477514521, 542.4677301466143]" ] }, { @@ -949,7 +949,7 @@ }, "outputs": [], "source": [ - "@assert A_diag == [-128.493 0.0 0.0 0.0 0.0;\n", + "@assert A_diag ≈ [-128.493 0.0 0.0 0.0 0.0;\n", " 0.0 -55.8878 0.0 0.0 0.0;\n", " 0.0 0.0 42.7522 0.0 0.0;\n", " 0.0 0.0 0.0 87.1611 0.0;\n",