safednn / SHE

SHE: A Fast and Accurate Deep Neural Network for Encrypted Data.
1 stars 0 forks source link

error which executing program #1

Open bpradeep508 opened 1 year ago

bpradeep508 commented 1 year ago

g++ --std=c++11 -fopenmp -c alu.cpp -ltfhe-spqlios-fma -ltfhe-spqlios-avx alu.cpp: In function ‘void bootsCOPYPointer(LweSample, LweSample)’: alu.cpp:344:16: error: use of deleted function ‘LweSample& LweSample::operator=(const LweSample&)’ result= a; ^ In file included from /usr/local/include/tfhe/lwe-functions.h:10:0, from /usr/local/include/tfhe/tfhe.h:14, from alu.hpp:9, from alu.cpp:1: /usr/local/include/tfhe/lwesamples.h:18:15: note: declared here LweSample& operator=(const LweSample&)=delete; ^~~~ Makefile:18: recipe for target 'alu.o' failed make: *** [alu.o] Error 1

bhuvneshchaturvedi2512 commented 1 year ago

Replace result= a; with result= a;

That will make it work.

bpradeep508 commented 1 year ago

Thanks