瀏覽代碼

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 1 年之前
父節點
當前提交
16aa39d154
共有 1 個文件被更改,包括 1 次插入1 次删除
  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()