File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -1677,12 +1677,12 @@ namespace MatImgprocBindings {
1677
1677
}
1678
1678
1679
1679
cv::Point2d seedPoint;
1680
- double newVal1;
1680
+ double newVal1 = 0 ;
1681
1681
cv::Vec3d newVal3 = cv::Vec3d();
1682
1682
cv::Mat mask = cv::noArray().getMat();
1683
- double loDiff1;
1683
+ double loDiff1 = 0 ;
1684
1684
cv::Vec3d loDiff3 = cv::Vec3d();
1685
- double upDiff1;
1685
+ double upDiff1 = 0 ;
1686
1686
cv::Vec3d upDiff3 = cv::Vec3d();
1687
1687
int flags = 4 ;
1688
1688
Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ NAN_MODULE_INIT(Net::Init) {
24
24
target->Set (Nan::New (" Net" ).ToLocalChecked (), ctor->GetFunction ());
25
25
};
26
26
27
- // #endif
28
-
29
- #endif
30
27
NAN_METHOD (Net::New) {
31
28
Net* self = new Net ();
32
29
self->Wrap (info.Holder ());
@@ -64,3 +61,5 @@ NAN_METHOD(Net::ForwardAsync) {
64
61
info
65
62
);
66
63
}
64
+
65
+ #endif
Original file line number Diff line number Diff line change @@ -1241,7 +1241,7 @@ module.exports = (getTestImg) => {
1241
1241
} ) ;
1242
1242
} ) ;
1243
1243
1244
- describe ( 'floodFill' , ( ) => {
1244
+ describe . only ( 'floodFill' , ( ) => {
1245
1245
const expectOutput = ( out ) => {
1246
1246
expect ( ! ! out ) . to . be . true ;
1247
1247
expect ( out ) . to . have . property ( 'returnValue' ) . to . be . a ( 'number' ) ;
You can’t perform that action at this time.
0 commit comments