sensitivityToRate = new boolean[tenors.length];
} else {
throw new OpenGammaRuntimeException("Yield curve specification and FX forward curve definition both missing. Expected one.");
}
final TenorLabelledLocalDateDoubleTimeSeriesMatrix1D returnSeriesVector = getReturnSeriesVector(bundle, tenors,
sensitivityToRate, schedule, samplingFunction, returnSeriesStart, includeStart, desiredValue);
final ValueSpecification resultSpec = new ValueSpecification(ValueRequirementNames.YIELD_CURVE_RETURN_SERIES, target.toSpecification(), desiredValue.getConstraints());
return ImmutableSet.of(new ComputedValue(resultSpec, returnSeriesVector));
}