fix: inconsistency assert
This commit is contained in:
parent
21ccc675ab
commit
4268ae661b
3 changed files with 6 additions and 8 deletions
|
|
@ -59,7 +59,7 @@ public:
|
|||
*/
|
||||
eoRankingCached(double _p = 2.0, double _e = 1.0) : pressure(_p), exponent(_e), cached_pSize(0)
|
||||
{
|
||||
assert(1 < pressure and exponent <= 2);
|
||||
assert(1 < pressure and pressure <= 2);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue