Open xuewei4d opened 9 years ago
Line 22 of grad_check.m fprintf('% 5d % 6d % 15g % 15f % 15f % 15f\n', ... i,j,error,g(j),g_est,f); should be fprintf('% 5d % 6d % 15g % 15f % 15f % 15f\n', ... i,j,error,g_est,g(j),f);
fprintf('% 5d % 6d % 15g % 15f % 15f % 15f\n', ... i,j,error,g(j),g_est,f);
fprintf('% 5d % 6d % 15g % 15f % 15f % 15f\n', ... i,j,error,g_est,g(j),f);
Line 22 of grad_check.m
fprintf('% 5d % 6d % 15g % 15f % 15f % 15f\n', ... i,j,error,g(j),g_est,f);
should befprintf('% 5d % 6d % 15g % 15f % 15f % 15f\n', ... i,j,error,g_est,g(j),f);