1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Merge pull request #6249 from sturkmen72:patch-15

This commit is contained in:
Alexander Alekhin
2016-03-14 11:26:51 +00:00
+1 -1
View File
@@ -960,7 +960,7 @@ void LDA::save(const String& filename) const
void LDA::load(const String& filename) {
FileStorage fs(filename, FileStorage::READ);
if (!fs.isOpened())
CV_Error(Error::StsError, "File can't be opened for writing!");
CV_Error(Error::StsError, "File can't be opened for reading!");
this->load(fs);
fs.release();
}