Fix interval::sin to suppress a warning

This commit is contained in:
Soonho Kong 2013-08-18 22:26:15 -07:00
parent 754227fc89
commit db8322e6e8

View file

@ -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;
}