mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-07-08 03:07:03 +00:00
@ -59,7 +59,7 @@ pFlow::selectorStridedRange::selectorStridedRange(
|
|||||||
end_(dict.getValOrSet<uint32>("end", pStruct.size())),
|
end_(dict.getValOrSet<uint32>("end", pStruct.size())),
|
||||||
stride_(dict.getValOrSet<uint32>("stride", 1u))
|
stride_(dict.getValOrSet<uint32>("stride", 1u))
|
||||||
{
|
{
|
||||||
begin_ = max(begin_, 1u);
|
begin_ = max(begin_, 0u);
|
||||||
end_ = min(end_, static_cast<uint32>(pStruct.size()));
|
end_ = min(end_, static_cast<uint32>(pStruct.size()));
|
||||||
stride_ = max(stride_, 1u);
|
stride_ = max(stride_, 1u);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user