Skip to content

Commit

Permalink
rephrase assert message
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdurrahheem committed May 9, 2024
1 parent 650b735 commit 8d68a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dnn/src/layers/tile_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class TileLayerImpl CV_FINAL : public TileLayer
outputs[0][i] *= repeats[i];
}
} else {
CV_CheckGE((int)repeats.size(), 1, "Provide at least one repeat along any dimention");
CV_CheckGE((int)repeats.size(), 1, "Tile: Provide at least one repeat along any dimension");
outputs.assign(1, repeats);
if (inputs[0].size() == 1)
outputs[0][repeats.size() - 1] *= inputs[0][0];
Expand Down

0 comments on commit 8d68a7d

Please sign in to comment.