Skip to content

Commit

Permalink
Bug fixed: M3C.p was running calculations in the wrong order
Browse files Browse the repository at this point in the history
  • Loading branch information
nfaguirrec committed Mar 28, 2020
1 parent 786ff00 commit 3f6d7de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/M3C.p
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ main(){
cp $iFile $iFileEff
echo "runM3C $iFileEff ${excitationEnergy[$i]} ${numberOfEvents[$i]} $keepOutputFiles" >> .commands$$
done

sed -i '1!G;h;$!d' .commands$$ # Print in reverse order

parallel .commands$$ $nThreads
rm .commands$$
Expand Down

0 comments on commit 3f6d7de

Please sign in to comment.