Skip to content

Commit 4f42f17

Browse files
Enrico SteffinlongoShai Halevi
authored andcommitted
Moved constexpr to const to avoid errors on non constexpr log function
1 parent b0dd681 commit 4f42f17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ctxt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
NTL_CLIENT
2626

2727
extern int fhe_watcher;
28-
static constexpr double safety = 1*log(2.0); // 1 bits of safety
28+
static const double safety = 1*log(2.0); // 1 bits of safety
2929

3030
void SKHandle::read(istream& str)
3131
{

0 commit comments

Comments
 (0)