Correction of type error from sdp graph