Fix interval::sin to suppress a warning
This commit is contained in:
parent
754227fc89
commit
db8322e6e8
1 changed files with 1 additions and 1 deletions
|
@ -1057,7 +1057,7 @@ template<typename T> void interval<T>::sin() {
|
|||
// sin(x) = [-sin(l'), 1] if l' + u' <= - pi
|
||||
// = [-sin(u'), 1] if l' + u' >= - pi
|
||||
if(m_lower + m_upper <= - pi) {
|
||||
m_lower = m_lower;
|
||||
// Nothing
|
||||
} else {
|
||||
m_lower = m_upper;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue