Skip to content

Commit

Permalink
fix HomGate
Browse files Browse the repository at this point in the history
  • Loading branch information
nindanaoto committed Mar 20, 2024
1 parent 74564ee commit 9aa259b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/gate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace TFHEpp {
template <class brP, typename brP::targetP::T μ, class iksP, int casign,
int cbsign, std::make_signed_t<typename iksP::targetP::T> offset>
int cbsign, std::make_signed_t<typename brP::domainP::T> offset>
inline void HomGate(TLWE<typename iksP::targetP> &res,
const TLWE<typename brP::domainP> &ca,
const TLWE<typename brP::domainP> &cb, const EvalKey &ek)
Expand All @@ -17,7 +17,7 @@ inline void HomGate(TLWE<typename iksP::targetP> &res,
GateBootstrapping<brP, μ, iksP>(res, res, ek);
}
template <class iksP, class brP, typename brP::targetP::T μ, int casign,
int cbsign, typename brP::targetP::T offset>
int cbsign, typename iksP::domainP::T offset>
inline void HomGate(TLWE<typename brP::targetP> &res,
const TLWE<typename iksP::domainP> &ca,
const TLWE<typename iksP::domainP> &cb, const EvalKey &ek)
Expand Down

0 comments on commit 9aa259b

Please sign in to comment.