mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
fix: Do not assert fail with too large weight and fix computation of 2-Norm with negative weigth (close #892)
This commit is contained in:
@@ -16,7 +16,7 @@ unsigned int getEintPrecision(mlir::Value value);
|
||||
std::unique_ptr<mlir::Pass> createMANPPass(bool debug = false);
|
||||
|
||||
std::unique_ptr<mlir::Pass>
|
||||
createMaxMANPPass(std::function<void(const llvm::APInt &, unsigned)> setMax);
|
||||
createMaxMANPPass(std::function<void(uint64_t, unsigned)> setMax);
|
||||
} // namespace concretelang
|
||||
} // namespace mlir
|
||||
|
||||
|
||||
Reference in New Issue
Block a user