Skip to content

Commit

Permalink
[SCI] fixed bug in cleartext Maxpool
Browse files Browse the repository at this point in the history
  • Loading branch information
deevashwer committed Mar 10, 2021
1 parent cb6efa9 commit 6a00ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCI/src/functionalities_pt.h
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ temp = (int64_t)0;
} else {
temp = inArr[n][curPosH][curPosW][c];
}
maxi = (PublicLT(maxi, temp)) ? temp : maxi;
maxi = (getSignedVal(PublicSub(maxi, temp)) < 0) ? temp : maxi;
}
}
outArr[n][ctH][ctW][c] = maxi;
Expand Down

0 comments on commit 6a00ed2

Please sign in to comment.