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
bafd969f
Commit
bafd969f
authored
Jan 18, 2018
by
Yuriy Polyakov
Browse files
Fixed a unit test for automorphism in core
parent
31af210f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/core/unittest/UnitTestLatticeElements.cpp
src/core/unittest/UnitTestLatticeElements.cpp
+1
-1
No files found.
src/core/unittest/UnitTestLatticeElements.cpp
View file @
bafd969f
...
...
@@ -808,7 +808,7 @@ void other_methods() {
usint
index
=
3
;
Element
ilvAuto
(
ilv
.
AutomorphismTransform
(
index
));
VecType
expected
(
4
,
primeModulus
);
expected
=
{
"
1"
,
"
56"
,
"2"
,
"3
7
"
};
expected
=
{
"56"
,
"2"
,
"3
6"
,
"1
"
};
EXPECT_EQ
(
expected
,
ilvAuto
.
GetValues
())
<<
"Failure: AutomorphismTransform()"
;
}
...
...
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