]> SALOME platform Git repositories - modules/homard.git/commitdiff
Salome HOME
Small but important fix from Gérald NICOLAS
authorgdd <gdd>
Tue, 20 Mar 2012 14:06:47 +0000 (14:06 +0000)
committergdd <gdd>
Tue, 20 Mar 2012 14:06:47 +0000 (14:06 +0000)
src/HOMARDGUI/MonCreateIteration.cxx

index 0cd82dede240e229199755853b52460af4393165..4f1b56e21a7a4fc22b484460be4e56a3270e3848 100644 (file)
@@ -173,7 +173,7 @@ bool MonCreateIteration::PushOnApply()
     int rank = SpinBox_Rank->value();
     int step = SpinBox_TimeStep->value();
     aIter->SetFieldFile(CORBA::string_dup(FieldFile.toStdString().c_str()));
-    aIter->SetTimeStepRank(rank,step);
+    aIter->SetTimeStepRank(step,rank);
   }
   _myHomardGen->AssociateIterHypo (IterName, monHypoName.toStdString().c_str());
   aIter->SetMeshName(CORBA::string_dup(aMeshName_np1.toStdString().c_str()));