fix typo in broken compiler workaround

[SVN r15884]
This commit is contained in:
Jens Maurer 2002-10-10 21:11:03 +00:00
parent 6bb81ab8a6
commit eed9b9d314
3 changed files with 5 additions and 5 deletions

View File

@ -97,7 +97,7 @@ public:
bool operator==(const discard_block& rhs) const
{ return _rng == rhs._rng && _n == rhs._n; }
bool operator!=(const discard_block& rhs) const
{ return !(x == y); }
{ return !(*this == rhs); }
#endif
private:

View File

@ -96,7 +96,7 @@ public:
bool operator==(inversive_congruential rhs) const
{ return value == rhs.value; }
bool operator!=(inversive_congruential rhs) const
{ return !(x == y); }
{ return !(*this == rhs); }
#endif
private:
IntType value;

View File

@ -124,7 +124,7 @@ public:
bool operator==(const lagged_fibonacci& rhs) const
{ return i == rhs.i && std::equal(x, x+long_lag, rhs.x); }
bool operator!=(const lagged_fibonacci& rhs) const
{ return !(x == y); }
{ return !(*this == rhs); }
#endif
private:
@ -258,7 +258,7 @@ public:
using std::fmod;
#endif
unsigned long mask = ~0u;
for(int i = 0; i < w; ++i)
for(int k = 0; k < w; ++k)
mask <<= 1;
mask = ~mask; // now lowest w bits set
unsigned int j;
@ -331,7 +331,7 @@ public:
bool operator==(const lagged_fibonacci_01& rhs) const
{ return i == rhs.i && std::equal(x, x+long_lag, rhs.x); }
bool operator!=(const lagged_fibonacci_01& rhs) const
{ return !(x == y); }
{ return !(*this == rhs); }
#endif
private: