fix bug in Factor::contains
This commit is contained in:
parent
ecde9649a8
commit
4708685ed4
@ -187,7 +187,7 @@ class TFactor
|
|||||||
|
|
||||||
bool contains (const vector<T>& args) const
|
bool contains (const vector<T>& args) const
|
||||||
{
|
{
|
||||||
for (size_t i = 0; i < args_.size(); i++) {
|
for (size_t i = 0; i < args.size(); i++) {
|
||||||
if (contains (args[i]) == false) {
|
if (contains (args[i]) == false) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user