minor renaming

This commit is contained in:
Tiago Gomes
2012-05-25 21:22:48 +01:00
parent 2efca0c85a
commit 4b2ffee015
2 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@
Factor::Factor (const Factor& g)
{
copyFromFactor (g);
clone (g);
}
@@ -101,7 +101,7 @@ void
Factor::multiply (Factor& g)
{
if (args_.size() == 0) {
copyFromFactor (g);
clone (g);
return;
}
TFactor<VarId>::multiply (g);
@@ -237,7 +237,7 @@ Factor::sumOutArgs (const vector<bool>& mask)
void
Factor::copyFromFactor (const Factor& g)
Factor::clone (const Factor& g)
{
args_ = g.arguments();
ranges_ = g.ranges();

View File

@@ -312,7 +312,7 @@ class Factor : public TFactor<VarId>
void sumOutArgs (const vector<bool>& mask);
void copyFromFactor (const Factor& f);
void clone (const Factor& f);
};