Skip to content

Commit

Permalink
Accidentally removed one line too many
Browse files Browse the repository at this point in the history
  • Loading branch information
adept committed Aug 13, 2011
1 parent ff35e33 commit 4adb529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/mpi-gather.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ main = mpi $ do
rank <- commRank commWorld
let master = 0 :: Rank

aStr:bStr:nStr:_ <- getArgs
let [a,b] = map read [aStr,bStr]
n = read nStr
h = (b - a) / fromIntegral n
Expand Down
1 change: 1 addition & 0 deletions haskell-mpi.tex
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ \subsection{Many-to-one communications}
rank <- commRank commWorld
let master = 0 :: Rank
aStr:bStr:nStr:_ <- getArgs
let [a,b] = map read [aStr,bStr]
n = read nStr
h = (b - a) / fromIntegral n
Expand Down

0 comments on commit 4adb529

Please sign in to comment.