Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel
Commits
1ca0b97c
Commit
1ca0b97c
authored
Sep 19, 2022
by
Po-Yen, Chen
Browse files
Remove opt-ed out assertion
parent
00207401
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
example/39_permute/common.hpp
example/39_permute/common.hpp
+0
-2
No files found.
example/39_permute/common.hpp
View file @
1ca0b97c
...
...
@@ -387,8 +387,6 @@ auto advance_indices(const Shape& shape, Indices& indices) -> std::enable_if_t<
auto
idx
=
rbegin
(
indices
);
for
(;
carry
&&
dim
!=
rend
(
shape
)
&&
idx
!=
rend
(
indices
);
++
dim
,
++
idx
)
{
assert
(
*
idx
<
*
dim
);
*
idx
=
(
*
idx
+
carry
);
carry
=
((
*
idx
==
*
dim
)
?
(
*
idx
=
0
,
true
)
:
false
);
}
...
...
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