mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
import files from csp
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
54a125063b
commit
ee07008fb9
2 changed files with 4 additions and 1 deletions
|
@ -51,6 +51,10 @@ class ema {
|
|||
m_beta *= 0.5;
|
||||
if (m_beta < m_alpha) m_beta = m_alpha;
|
||||
}
|
||||
|
||||
void set(double x) {
|
||||
m_value = x;
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue