Procházet zdrojové kódy

Correction of an error message

Using the argument mentioned in the error message for cmake when building  openfhe-development for 128-bit CKKS yields the following message:
Warning:
Manually-specified variables were not used by the project:
NATIVE_INT

Looking at openfhe-development's CMakeLists.txt, the correct argument is -DNATIVE_SIZE.
Alexandre Pham před 1 rokem
rodič
revize
16aa39d154
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      examples/pke/advanced-real-numbers-128.py

+ 1 - 1
examples/pke/advanced-real-numbers-128.py

@@ -383,7 +383,7 @@ def main():
         fast_rotation_demo1()
         fast_rotation_demo2()
     else:
-        print("This demo only runs for 128-bit CKKS.\nIf you want to test it please reinstall the OpenFHE C++ with the flag -DNATIVE_INT=128, then reinstall OpenFHE-Python.")
+        print("This demo only runs for 128-bit CKKS.\nIf you want to test it please reinstall the OpenFHE C++ with the flag -DNATIVE_SIZE=128, then reinstall OpenFHE-Python.")
 
 if __name__ == "__main__":
     main()