Commit 826b5a2e authored by Suleyman TURKMEN's avatar Suleyman TURKMEN

Update lda.cpp

typo correction
parent fbc221d3
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment