def METHOD_NAME():
    loss_in = np.array([0., 10., 20., 30., 40., 50., 60.])
    loss_out = np.empty_like(loss_in)
    policy = np.array([(0, 2, 15, 0, 0, 10, 30, 0.5, 0, 0)], dtype=fm_profile_dtype)[0]
    calc(policy, loss_out, loss_in, None)
    loss_expected = np.array([0., 0., 0., 2.5, 7.5, 12.5, 15.])
    assert_array_almost_equal(loss_out, loss_expected)