human
Solve the following python programming problem given the following code:
def test_2d_array_fanout() : 
    def fun(x) : 
        A = np.array ([[x, (x * 1.0), (x + 2.5)], [(x ** 2), x, (x / 2.0)]]) 
        return to_scalar ((A + A)) 
d_fun = (lambda x : grad (fun) (x)) 
    check_grads (fun, 3.0) 
    check_grads (fun, 3.0) 

    
    

    Fix the buggy line: check_grads (fun, 3.0)
assistant
#Here is Python program to fix the buggy line: check_grads (fun, 3.

check_grads (d_fun, 3.0)