diff --git a/Notebooks/Chap01/1_1_BackgroundMathematics.ipynb b/Notebooks/Chap01/1_1_BackgroundMathematics.ipynb index 3ca132d..9378a08 100644 --- a/Notebooks/Chap01/1_1_BackgroundMathematics.ipynb +++ b/Notebooks/Chap01/1_1_BackgroundMathematics.ipynb @@ -269,7 +269,7 @@ "# Compute with vector/matrix form\n", "y_vec = beta_vec+np.matmul(omega_mat, x_vec)\n", "print(\"Matrix/vector form\")\n", - "print('y1= %3.3f\\ny2 = %3.3f'%((y_vec[0],y_vec[1])))\n" + "print('y1= %3.3f\\ny2 = %3.3f'%((y_vec[0][0],y_vec[1][0])))\n" ] }, {