diff --git a/applications/utilities/preProcessing/mapFields/setTimeIndex.H b/applications/utilities/preProcessing/mapFields/setTimeIndex.H index 3a36340aaf64c3c07f98dfc3d792ff39ee46d870..20e5cde3b1cf684c40a2f98ec81a24192e92d3d2 100644 --- a/applications/utilities/preProcessing/mapFields/setTimeIndex.H +++ b/applications/utilities/preProcessing/mapFields/setTimeIndex.H @@ -1,4 +1,4 @@ - label sourceTimeIndex = 0; + label sourceTimeIndex = runTimeSource.timeIndex(); instantList sourceTimes = runTimeSource.times(); if (args.options().found("sourceTime")) {