def METHOD_NAME(variant_scalar_rgb):
    f = mi.load_dict({'type': 'mitchell'})
    assert dr.allclose(f.eval(0), 0.8888, atol=1e-3)
    assert dr.allclose(f.eval_discretized(0), 0.8888, atol=1e-3)
    assert f.eval(2.1) == 0 and f.eval_discretized(2.1) == 0