<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ColorSync",
  "identifier" : "/documentation/ColorSync/ColorSyncProfile/HeadroomAdaptiveGainCurve-swift.struct/Error/mismatchedTangentCount(got:expected:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "ColorSync"
    ],
    "preciseIdentifier" : "s:So19ColorSyncProfileRefa0aB0E25HeadroomAdaptiveGainCurveV5ErrorO22mismatchedTangentCountyAGSi_SitcAGmF"
  },
  "title" : "ColorSyncProfile.HeadroomAdaptiveGainCurve.Error.mismatchedTangentCount(got:expected:)"
}
-->

# ColorSyncProfile.HeadroomAdaptiveGainCurve.Error.mismatchedTangentCount(got:expected:)

The number of explicit tangent slopes doesn’t match the control point count.

```
case mismatchedTangentCount(got: Int, expected: Int)
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)