Skip to content

Commit

Permalink
remove edit in splines
Browse files Browse the repository at this point in the history
  • Loading branch information
mo271 committed Dec 20, 2024
1 parent 9181d35 commit 6f8aa0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jxl/src/features/spline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ impl QuantizedSpline {
max_control_points,
));
}
let mut control_points: Vec<(i64, i64)> = Vec::with_capacity(num_control_points as usize);
let mut control_points = Vec::with_capacity(num_control_points as usize);
for _ in 0..num_control_points {
let x = splines_reader.read_signed(br, CONTROL_POINTS_CONTEXT)? as i64;
let y = splines_reader.read_signed(br, CONTROL_POINTS_CONTEXT)? as i64;
Expand Down

0 comments on commit 6f8aa0d

Please sign in to comment.