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

Commit 06a6628

Browse files
author
Mikolaj Komar
committed
fix compilation
1 parent 05f5c63 commit 06a6628

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/dr/detail/coo_matrix.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,14 @@ class coo_matrix {
110110
}
111111

112112
iterator find(key_type key) noexcept {
113-
return std::find_if(begin(), end(), [&](auto &&v) {
113+
return std::ranges::find_if(begin(), end(), [&](auto &&v) {
114114
auto &&[i, v_] = v;
115115
return i == key;
116116
});
117117
}
118118

119119
const_iterator find(key_type key) const noexcept {
120-
return std::find_if(begin(), end(), [&](auto &&v) {
120+
return std::ranges::find_if(begin(), end(), [&](auto &&v) {
121121
auto &&[i, v_] = v;
122122
return i == key;
123123
});

0 commit comments

Comments
 (0)