The following error occurred converting from gpuArray to double:
Conversion to double from gpuArray is not possible.
Error in identify_linear_piece (line 27)
residues(i) = meta.normr;
Error in checkdiff (line 131)
[range, poly] = identify_linear_piece(log10(h), log10(err), window_len);
Error in checkgradient (line 70)
checkdiff(problem, x, d, true);
Error in angus4 (line 109)
checkgradient(problem);
** When I put problem data on the GPU and invoke the arc solver, I get the following error:
iter cost val grad norm sigma #Hess
0 +1.9818504819734756e+11 1.21841901e+10 5.03e-01The following error occurred converting from gpuArray to double:
Conversion to double from gpuArray is not possible.
Error in arc_lanczos (line 127)
T(1, 1) = alpha;
Error in arc (line 249)
options.subproblemsolver(problem, x, grad, gradnorm, ...
Error in angus4 (line 116)
[x, xcost, info] = arc(problem,x0);