mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
fix(compiler): MANP segfault bug in case of missing MANP value
This commit is contained in:
@@ -1109,6 +1109,7 @@ protected:
|
||||
if (!MANP) {
|
||||
op->emitError("Maximum Arithmetic Noise Padding value not set");
|
||||
this->signalPassFailure();
|
||||
return;
|
||||
}
|
||||
|
||||
if (APIntWidthExtendULT(this->maxMANP, MANP.getValue())) {
|
||||
|
||||
Reference in New Issue
Block a user