Skip to content

Commit

Permalink
Fixed refactored GPU code.
Browse files Browse the repository at this point in the history
  • Loading branch information
zlogic committed Jan 21, 2024
1 parent 8df68df commit a996680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/correlation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ mod gpu {
) -> Result<(), Box<dyn error::Error>> {
let max_width = img1.width().max(img2.width());
let max_height = img1.height().max(img2.height());
let max_shape = (max_height, max_width);
let max_shape = (max_width, max_height);
let img1_shape = (img1.width(), img1.height());
let out_shape = match dir {
CorrelationDirection::Forward => self.img1_shape,
Expand Down

0 comments on commit a996680

Please sign in to comment.