mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
use std::pow
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e3b92fec82
commit
eb555ee0a7
1 changed files with 2 additions and 1 deletions
|
@ -43,6 +43,7 @@ Done:
|
|||
#include "ast/sls/sls_arith_base.h"
|
||||
#include "ast/ast_ll_pp.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include <cmath>
|
||||
|
||||
namespace sls {
|
||||
|
||||
|
@ -1740,7 +1741,7 @@ namespace sls {
|
|||
else if (result == 0)
|
||||
return 0.2;
|
||||
for (int i = m_prob_break.size(); i <= breaks; ++i)
|
||||
m_prob_break.push_back(pow(m_config.cb, -i));
|
||||
m_prob_break.push_back(std::pow(m_config.cb, -i));
|
||||
return m_prob_break[breaks];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue