---
title: "ColorSyncProfile.HeadroomAdaptiveGainCurve.Error.mismatchedTangentCount(got:expected:)"
framework: colorsync
role: symbol
role_heading: Case
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: "colorsync/colorsyncprofile/headroomadaptivegaincurve-swift.struct/error/mismatchedtangentcount(got:expected:)"
---

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

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

## Declaration

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