Floating point exception in RNG:: fill (Bug #1318)


Added by Andrey Kamaev over 13 years ago. Updated almost 13 years ago.


Status:Done Start date:
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:core
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

Problem occurs on Ubuntu Linux.
Code sample to reproduce error:

    cv::Mat a(cv::Size(1280, 720), CV_8U, cv::Scalar(20));
    cv::Mat min(1,1,CV_64F, cv::Scalar::all(-DBL_MAX));
    cv::Mat max(1,1,CV_64F, cv::Scalar::all(DBL_MAX));
    cv::theRNG().fill(a, cv::RNG::UNIFORM, min, max);

Associated revisions

Revision 586ff429
Added by Vadim Pisarevsky almost 13 years ago

fixed bug #1318. extended RNG::fill with the optional saturateRange parameter

Revision 43aec5ad
Added by Roman Donchenko over 11 years ago

Merge pull request #1318 from SpecLad:wow

History

Updated by Alexander Shishkov almost 13 years ago

  • Target version deleted ()

Updated by Alexander Shishkov almost 13 years ago

  • Assignee deleted (Vadim Pisarevsky)

Updated by Alexander Shishkov almost 13 years ago

  • Assignee set to Alexander Shishkov

Updated by Vadim Pisarevsky almost 13 years ago

  • Assignee changed from Alexander Shishkov to Vadim Pisarevsky

Updated by Vadim Pisarevsky almost 13 years ago

fixed in r7730.
(Sasha, please, do not change the default value of saturateRange parameter)

  • Status changed from Open to Done
  • Assignee changed from Vadim Pisarevsky to Alexander Shishkov

Updated by Alexander Shishkov almost 13 years ago

  • Assignee changed from Alexander Shishkov to Vadim Pisarevsky

Updated by Alexander Shishkov almost 13 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF