Fix some apparent typos and misindentations 2.
[ginac.git] / ginac / mul.cpp
index 0720908850db8ceac1e9892a2a535ae2aa6d9a82..2b404877c9840aa53a071e712aa222e51680533a 100644 (file)
@@ -805,7 +805,7 @@ bool algebraic_match_mul_with_mul(const mul &e, const ex &pat, exmap& repls,
 
 bool mul::has(const ex & pattern, unsigned options) const
 {
-       if(!(options&has_options::algebraic))
+       if(!(options & has_options::algebraic))
                return basic::has(pattern,options);
        if(is_a<mul>(pattern)) {
                exmap repls;