diff --git a/Gaussian_Processes.ipynb b/Gaussian_Processes.ipynb index 194c524..cabd12d 100644 --- a/Gaussian_Processes.ipynb +++ b/Gaussian_Processes.ipynb @@ -714,7 +714,7 @@ "try:\n", " mu = k_starX.dot(np.linalg.inv(k_xx)).dot(y_samp).flatten()\n", " var = k_starstar - k_starX.dot(np.linalg.inv(k_xx)).dot(k_starX.T)\n", - "except: LinAlgError\n", + "except:\n", " print('ERROR PLEASE RETURN TO GENERATE SAMPLE')" ] },