fixed inconsistent new/delete operators
This commit is contained in:
parent
3d095ccc82
commit
b62cf65b91
@ -2627,7 +2627,7 @@ void HOGDescriptor::readALTModel(std::string modelfile)
|
|||||||
|
|
||||||
detector.push_back((float)-linearbias);
|
detector.push_back((float)-linearbias);
|
||||||
setSVMDetector(detector);
|
setSVMDetector(detector);
|
||||||
delete linearwt;
|
delete [] linearwt;
|
||||||
} else {
|
} else {
|
||||||
throw Exception();
|
throw Exception();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user