Skip to content
Snippets Groups Projects
Commit 0fa8ffcf authored by Mark Olesen's avatar Mark Olesen Committed by Andrew Heather
Browse files

fixed inverted directory-test logic in IOobject.C

parent 222d3e41
Branches
Tags
No related merge requests found
......@@ -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";
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment