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, 20, 25, 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., 10., 20., 0., 0., 0., 0.])
    assert_array_almost_equal(loss_out, loss_expected)