Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
PALISADE
PALISADE Development
Commits
74e5a25e
Commit
74e5a25e
authored
Nov 24, 2018
by
Yuriy Polyakov
Committed by
Jerry Ryan
Dec 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix in packed encoding
parent
c80f0535
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/core/lib/encoding/packedencoding.cpp
src/core/lib/encoding/packedencoding.cpp
+2
-1
No files found.
src/core/lib/encoding/packedencoding.cpp
View file @
74e5a25e
...
...
@@ -84,7 +84,8 @@ bool PackedEncoding::Encode() {
for
(
size_t
i
=
1
;
i
<
nativeParams
.
size
();
i
++
)
{
NativePoly
temp
(
firstElement
);
temp
.
SwitchModulus
(
nativeParams
[
i
]
->
GetModulus
(),
nativeParams
[
i
]
->
GetRootOfUnity
());
temp
.
SwitchModulus
(
nativeParams
[
i
]
->
GetModulus
(),
nativeParams
[
i
]
->
GetRootOfUnity
(),
nativeParams
[
i
]
->
GetBigModulus
(),
nativeParams
[
i
]
->
GetBigRootOfUnity
());
this
->
encodedVectorDCRT
.
SetElementAtIndex
(
i
,
temp
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment