mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fileOperation: Corrected findInstance. See also #974.
Patch contributed by Mattijs Janssens
This commit is contained in:
@ -784,7 +784,11 @@ Foam::IOobject Foam::fileOperation::findInstance
|
|||||||
for (; instanceI >= 0; --instanceI)
|
for (; instanceI >= 0; --instanceI)
|
||||||
{
|
{
|
||||||
// Shortcut: if actual directory is the timeName we've already tested it
|
// Shortcut: if actual directory is the timeName we've already tested it
|
||||||
if (ts[instanceI].name() == startIO.instance())
|
if
|
||||||
|
(
|
||||||
|
ts[instanceI].name() == startIO.instance()
|
||||||
|
&& ts[instanceI].name() != stopInstance
|
||||||
|
)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user