Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 6ed7f8b

Browse files
Fix type comparison for joint_matrix (#480)
1 parent 7c600d3 commit 6ed7f8b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.clang-format

-3
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,3 @@ ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
5959
SpaceBeforeParens: ControlStatements
6060
DisableFormat: false
6161
...
62-
---
63-
Language: Json
64-
DisableFormat: true

include/container/sycl_iterator.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ inline void BufferIterator<element_t>::set_offset(std::ptrdiff_t offset) {
365365
*/
366366
template <typename element_t>
367367
struct ValueType<BufferIterator<element_t>> {
368-
using type = element_t;
368+
using type = typename std::remove_cv<element_t>::type;
369369
};
370370
/*
371371
* rebind the buffer iterator<U> with BufferIterator<element_t>

0 commit comments

Comments
 (0)