STYLE: remove local version of momentum::scopedName
BUG: incorrect return for unscoped functionObject name
This commit is contained in:
@ -53,7 +53,7 @@ Foam::word Foam::functionObject::scopedName(const word& name) const
|
||||
return IOobject::scopedName(name_, name);
|
||||
}
|
||||
|
||||
return name_;
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user