Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
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
564c3883
Commit
564c3883
authored
Jan 19, 2018
by
Gerard Ryan
Browse files
updated for BE6 build
parent
a135aa36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/pke/lib/nullscheme.h
src/pke/lib/nullscheme.h
+2
-2
No files found.
src/pke/lib/nullscheme.h
View file @
564c3883
...
...
@@ -850,10 +850,10 @@ class LPAlgorithmSHENull : public LPSHEAlgorithm<Element> {
for
(
int
c1e
=
0
;
c1e
<
ringdim
;
c1e
++
)
{
typename
Element
::
PolyType
::
Integer
answer
,
c1val
,
c2val
,
prod
;
c1val
=
c1
.
at
(
c1e
);
if
(
c1val
!=
0
)
{
if
(
c1val
!=
typename
Element
::
PolyType
::
Integer
(
0
)
)
{
for
(
int
c2e
=
0
;
c2e
<
ringdim
;
c2e
++
)
{
c2val
=
c2
.
at
(
c2e
);
if
(
c2val
!=
0
)
{
if
(
c2val
!=
typename
Element
::
PolyType
::
Integer
(
0
)
)
{
prod
=
c1val
*
c2val
;
int
index
=
(
c1e
+
c2e
);
...
...
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