mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
Update lda.cpp
typo correction
This commit is contained in:
parent
fbc221d334
commit
826b5a2ef1
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user