mirror of
https://github.com/opencv/opencv.git
synced 2026-12-02 21:22:43 -06:00
core: read numbers with an upper-case exponent in FileStorage
This commit is contained in:
committed by
Alexander Smorkalov
parent
3b79188917
commit
6cae2e3701
@@ -684,7 +684,7 @@ public:
|
||||
ptr++;
|
||||
CV_PERSISTENCE_CHECK_END_OF_BUFFER_BUG_CPP();
|
||||
}
|
||||
if (*ptr == '.' || *ptr == 'e')
|
||||
if (*ptr == '.' || *ptr == 'e' || *ptr == 'E')
|
||||
{
|
||||
double fval = fs->strtod( beg, &ptr );
|
||||
CV_PERSISTENCE_CHECK_END_OF_BUFFER_BUG_CPP();
|
||||
|
||||
Reference in New Issue
Block a user