Skip to content

Commit 09ea9fe

Browse files
Merge branch 'main' into bp/tiff-jpeg-cmyk
2 parents 12a3373 + 8dba1c6 commit 09ea9fe

File tree

1 file changed

+1
-9
lines changed
  • src/ImageSharp/Metadata/Profiles/ICC/Various

1 file changed

+1
-9
lines changed

src/ImageSharp/Metadata/Profiles/ICC/Various/IccClut.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,7 @@ private bool EqualsValuesArray(IccClut other)
9191
return false;
9292
}
9393

94-
for (int i = 0; i < this.Values.Length; i++)
95-
{
96-
if (!this.Values.SequenceEqual(other.Values))
97-
{
98-
return false;
99-
}
100-
}
101-
102-
return true;
94+
return this.Values.SequenceEqual(other.Values);
10395
}
10496

10597
private void CheckValues()

0 commit comments

Comments
 (0)