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:
@ -36,7 +36,7 @@ defineTypeNameAndDebug(Foam::IOobject, 0);
|
||||
|
||||
// Return components following the IOobject requirements
|
||||
//
|
||||
// behaviour
|
||||
// behaviour
|
||||
// input IOobject(instance, local, name)
|
||||
// ----- ------
|
||||
// "foo" ("", "", "foo")
|
||||
@ -58,7 +58,7 @@ bool Foam::IOobject::IOobject::fileNameComponents
|
||||
name.clear();
|
||||
|
||||
// called with directory
|
||||
if (!isDir(path))
|
||||
if (isDir(path))
|
||||
{
|
||||
WarningIn("IOobject::fileNameComponents(const fileName&, ...)")
|
||||
<< " called with directory: " << path << "\n";
|
||||
|
||||
Reference in New Issue
Block a user