final String curveCurrency = desiredValue.getConstraint(ValuePropertyNames.CURVE_CURRENCY);
final String curveCalculationConfig = desiredValue.getConstraint(ValuePropertyNames.CURVE_CALCULATION_CONFIG);
final ComputationTargetSpecification specification = target.toSpecification();
final Object value = inputs.getValue(new ValueRequirement(YCNS_REQUIREMENT, specification));
if (!(value instanceof LabelledMatrix1D)) {
throw new OpenGammaRuntimeException("Yield Curve Node Sensitivities result was not of type LabelledMatrix1D");
}
final DoubleLabelledMatrix1D ycns = (DoubleLabelledMatrix1D) value;
final double result = sum(ycns.getValues());
final ValueProperties properties = createCurrencyValueProperties(target)
.with(ValuePropertyNames.CURVE, curveName)