Skip to content

Commit 40e8b78

Browse files
authored
Fix a row_iterator constructor
The type of the first argument of this constructor should be `V*` instead of `std::size_t`
1 parent 1e5737a commit 40e8b78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/RcppParallel/RMatrix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class RMatrix {
2323
{
2424
}
2525

26-
inline row_iterator(std::size_t start, std::size_t parentNrow, std::size_t index)
26+
inline row_iterator(V* start, std::size_t parentNrow, std::size_t index)
2727
: start_(start), parentNrow_(parentNrow), index_(index)
2828
{
2929
}

0 commit comments

Comments
 (0)