mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-15 15:15:06 -05:00
fix: cpp code generation
This commit is contained in:
@@ -7,6 +7,6 @@ def print_cpp_curves_declaration(datas):
|
||||
print("std::vector<SecurityCurve> curves {")
|
||||
for data in datas:
|
||||
print_curve(data)
|
||||
print("}\n")
|
||||
print("};\n")
|
||||
|
||||
print_cpp_curves_declaration(json.load(sys.stdin))
|
||||
@@ -3,5 +3,5 @@ std::vector<SecurityCurve> curves {
|
||||
SecurityCurve(112,-0.029881371645803536, 2.6539316216894946, 450, KeyFormat::BINARY),
|
||||
SecurityCurve(128,-0.026599462343105267, 2.981543184145991, 450, KeyFormat::BINARY),
|
||||
SecurityCurve(192,-0.018894148763647572, 4.2700349965659115, 532, KeyFormat::BINARY),
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user