Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Philip Trettner
polymesh
Commits
592cfde5
Commit
592cfde5
authored
Jul 24, 2018
by
Philip Trettner
Browse files
fixed signed warning
parent
d1881c0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/polymesh/detail/permutation.hh
View file @
592cfde5
...
...
@@ -29,7 +29,7 @@ inline bool is_valid_permutation(std::vector<int> const& p)
for
(
auto
i
=
0u
;
i
<
p
.
size
();
++
i
)
{
auto
pi
=
p
[
i
];
if
(
pi
<
0
||
pi
>=
p
.
size
())
if
(
pi
<
0
||
pi
>=
(
int
)
p
.
size
())
return
false
;
// out of bound
if
(
r
[
pi
]
!=
-
1
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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