Skip to content

Commit 03112e4

Browse files
committed
fix
1 parent fcba79c commit 03112e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/samurai/subset/node.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ namespace samurai
112112
return std::apply(
113113
[this, &start_fct, &end_fct](auto&& arg, auto&&... args)
114114
{
115-
if constexpr (std::is_same_v<Op, DifferenceOp>)
115+
if constexpr (std::is_same_v<Op, DifferenceOp> && d == 0)
116116
{
117117
return std::make_tuple(std::move(arg.template get_start_and_stop_function<d>(
118118
m_start_end_op.template start<d>(std::forward<Func_start>(start_fct)),

0 commit comments

Comments
 (0)