diff --git a/Userland/Libraries/LibGfx/ICC/TagTypes.h b/Userland/Libraries/LibGfx/ICC/TagTypes.h index 010f16e11b..a1b59edb68 100644 --- a/Userland/Libraries/LibGfx/ICC/TagTypes.h +++ b/Userland/Libraries/LibGfx/ICC/TagTypes.h @@ -35,7 +35,7 @@ float lerp_1d(ReadonlySpan values, float x) // Does multi-dimensional linear interpolation over a lookup table. // `size(i)` should returns the number of samples in the i'th dimension. // `sample()` gets a vector where 0 <= i'th coordinate < size(i) and should return the value of the look-up table at that position. -inline FloatVector3 lerp_nd(Function size, Function const&)> sample, Vector const& x) +inline FloatVector3 lerp_nd(Function size, Function const&)> sample, ReadonlySpan x) { unsigned left_index[x.size()]; float factor[x.size()];