fix to Detector::write so that it doesn't abort on read
This commit is contained in:
parent
2799f51bf9
commit
54f92013b0
@ -1712,7 +1712,7 @@ void Detector::read(const FileNode& fn)
|
||||
void Detector::write(FileStorage& fs) const
|
||||
{
|
||||
fs << "pyramid_levels" << pyramid_levels;
|
||||
fs << "T" << "[:" << T_at_level << "]";
|
||||
fs << "T" << T_at_level;
|
||||
|
||||
fs << "modalities" << "[";
|
||||
for (int i = 0; i < (int)modalities.size(); ++i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user