Skip to content

Commit 7a97f28

Browse files
benITo47msluszniak
authored andcommitted
[FIX] Fix compilation error: Added missing + operator (#732)
## Description Hotfix for compilation error. Readied +operator ### Introduces a breaking change? - [x] Yes - [ ] No ### Type of change - [x] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [ ] Documentation update (improves or adds clarity to existing documentation) - [ ] Other (chores, tests, code style improvements etc.) ### Tested on - [x] iOS - [x] Android
1 parent 08fd499 commit 7a97f28

File tree

1 file changed

+1
-1
lines changed
  • packages/react-native-executorch/common/rnexecutorch/models/ocr

1 file changed

+1
-1
lines changed

packages/react-native-executorch/common/rnexecutorch/models/ocr/Recognizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Recognizer::generate(const cv::Mat &grayImage, int32_t inputWidth) {
3232
auto shapes = getAllInputShapes(method_name);
3333
if (shapes.empty()) {
3434
throw std::runtime_error("Recognizer model: Input shapes for " +
35-
method_name " not found");
35+
method_name + " not found");
3636
}
3737
std::vector<int32_t> tensorDims = shapes[0];
3838
TensorPtr inputTensor =

0 commit comments

Comments
 (0)