qdm12 / hbc

API of homomorphic binary operations such as binary comparisons or binary divisions using the library HElib
28 stars 5 forks source link

Warning and decryption error will appear when using division function #5

Open wongwanying opened 4 years ago

wongwanying commented 4 years ago

I am studying the division operation on helib, but I encountered a ctxt problem when I tried to use the divide method in he.cpp.

Ctxt::bringToSet called with empty set and capacity=17.5047, this is likely a bug

It seems caused by the function HFSUBER in he.cpp.What's the reason?