bug 61: warning must be fatal.

This commit is contained in:
Mathieu Lacage committed 2008-06-09 11:39:29 -07:00
1 parent 91e5798397
commit 12ac5e6da5
1 file changed
+2 -3
+2 -3
View File
@@ -156,9 +156,8 @@ void RandomVariableBase::UseGlobalSeed(uint32_t s0, uint32_t s1, uint32_t s2,
{
if (RandomVariableBase::globalSeedSet)
{
cerr << "Random number generator already initialized!" << endl;
cerr << "Call to RandomVariableBase::UseGlobalSeed() ignored" << endl;
return;
NS_FATAL_ERROR ("Random number generator already initialized! "
"Call to RandomVariableBase::UseGlobalSeed() ignored");
}
RandomVariableBase::globalSeed[0] = s0;
RandomVariableBase::globalSeed[1] = s1;