Skip to content

Commit

Permalink
Fix 'cannot seek vector iterator' in debug windows build (#1543)
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Antoszkiewicz <mantoszkiewicz@codeflyers.com>

Signed-off-by: Michal Antoszkiewicz <mantoszkiewicz@codeflyers.com>
  • Loading branch information
antoszy committed Dec 16, 2022
1 parent e0514cc commit 6d376af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void TRTMultiLevelRoiAlign::configurePlugin(const nvinfer1::DynamicPluginTensorD
ASSERT(nbOutputs == 1);
ASSERT(nbInputs >= 1);
mFeatmapStrides =
std::vector<float>(mFeatmapStrides.begin(), mFeatmapStrides.begin() + nbInputs - 1);
std::vector<float>(mFeatmapStrides.begin(), mFeatmapStrides.begin() + (nbInputs - 1));
}

size_t TRTMultiLevelRoiAlign::getWorkspaceSize(const nvinfer1::PluginTensorDesc *inputs,
Expand Down

0 comments on commit 6d376af

Please sign in to comment.