Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Fix typo in image encoder (#1620)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnukvmd authored Dec 22, 2023
2 parents c4b3666 + b9116d1 commit 894f5b5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ class OnnxImageEncoder {
final double v10 = inputImage[j10];
final double v11 = inputImage[j11];

final double v0 = v00 + (1 - dx) + v01 * dx;
final double v1 = v10 + (1 - dx) + v11 * dx;
final double v0 = v00 * (1 - dx) + v01 * dx;
final double v1 = v10 * (1 - dx) + v11 * dx;

final double v = v0 * (1 - dy) + v1 * dy;

Expand Down

0 comments on commit 894f5b5

Please sign in to comment.