Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Ticket #342 (new defect)

Opened 3 years ago

tango.math.random.Random unittests fails on mac x86_32

Reported by: fawzi Assigned to: ChristianK
Priority: major Milestone:
Component: unspecified Version: hg tip
Keywords: Cc:

Description

The random unittest fails on mac, it seems that it can be reduced to

module tstRand;
import tango.math.random.Random;
import tango.math.random.engines.KISS;
import tango.io.Stdout;
import tango.core.stacktrace.TraceExceptions;

int main() {
    Stdout("pippo1").newline;
    auto r=new RandomG!(Kiss99)();
    Stdout("pippo1-0").newline;
    auto src=r.normalSource!(float)(); // this fails
    Stdout("pippo1").newline;
    return 0;
}

somehow the call fails before it even enters the function, but r seems to be valid (other calls work).

Copyright © 2008, LDC Development Team.