Skip to content

Commit c51828f

Browse files
committed
Add missing KERNEL_FLOAT_INLINE on for_each
1 parent 2a51e52 commit c51828f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/kernel_float/iterate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace kernel_float {
1818
* ```
1919
*/
2020
template<typename V, typename F>
21-
void for_each(V&& input, F fun) {
21+
KERNEL_FLOAT_INLINE void for_each(V&& input, F fun) {
2222
auto storage = into_vector_storage(input);
2323

2424
#pragma unroll
@@ -315,4 +315,4 @@ KERNEL_FLOAT_INLINE select_type<V, Is...> select(const V& input, const Is&... in
315315

316316
} // namespace kernel_float
317317

318-
#endif
318+
#endif

0 commit comments

Comments
 (0)