bug in return value implace_solve_kernel