mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fixed inverted directory-test logic in IOobject.C
This commit is contained in:
@ -58,7 +58,7 @@ bool Foam::IOobject::IOobject::fileNameComponents
|
|||||||
name.clear();
|
name.clear();
|
||||||
|
|
||||||
// called with directory
|
// called with directory
|
||||||
if (!isDir(path))
|
if (isDir(path))
|
||||||
{
|
{
|
||||||
WarningIn("IOobject::fileNameComponents(const fileName&, ...)")
|
WarningIn("IOobject::fileNameComponents(const fileName&, ...)")
|
||||||
<< " called with directory: " << path << "\n";
|
<< " called with directory: " << path << "\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user