[MAT-386] Patch for https://github.com/OpenGamma/OG-Maths/pull/103#discussion_r13174124.