Skip to content

Commit

Permalink
Merge pull request #613 from kubark42/patch-1
Browse files Browse the repository at this point in the history
[OpenCV.h]: allow double arguments
  • Loading branch information
peterbraden committed Mar 20, 2019
2 parents 35656f7 + 123adb5 commit 73007ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenCV.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ using namespace node;
}

#define DOUBLE_FROM_ARGS(NAME, IND) \
if (info[IND]->IsInt32()){ \
if (info[IND]->IsNumber()){ \
NAME = info[IND]->NumberValue(); \
}

Expand Down

0 comments on commit 73007ee

Please sign in to comment.