Changeset 358 for cpp/frams/model


Ignore:
Timestamp:
04/18/15 16:33:54 (5 years ago)
Author:
Maciej Komosinski
Message:

Commented out "srand(time(NULL))" - this line would affect everything else that uses the standard global r.n.g., and would introduce uncontrolled indeterminism

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/similarity/SVD/lapack.cpp

    • Property svn:eol-style set to native
    r350 r358  
    4343// the use of this software, even if advised of the possibility of such damage.
    4444//
    45 //M*/
     45//
    4646/*
    4747 * AutoBuffer from https://github.com/Itseez/opencv/blob/master/modules/core/include/opencv2/core/utility.hpp
    4848 * VBLAS, JacobiSVDImpl_ from https://github.com/Itseez/opencv/blob/master/modules/core/src/lapack.cpp
    4949 * changes:
    50  * - "RNG rng(0x12345678)" replaced with "srand (time(NULL))"
     50 * - "RNG rng(0x12345678)" replaced with "srand(time(NULL))"
    5151 * - "rng.next()" replaced with "rand()"
     52 * MK, 04.2015:
     53 * - commented out "srand(time(NULL))" - this line would affect everything else that uses the standard global r.n.g., and would introduce uncontrolled indeterminism
    5254 */
    5355#include <cstdlib>
     
    372374        return;
    373375
    374     srand(time(NULL));
     376    //srand(time(NULL));
    375377    for (i = 0; i < n1; i++)
    376378    {
Note: See TracChangeset for help on using the changeset viewer.