Skip to content

Commit

Permalink
change tag number in spec exampels
Browse files Browse the repository at this point in the history
  • Loading branch information
seiya committed Apr 26, 2011
1 parent 650df70 commit 89b422d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/ruby-mpi_spec.rb
Expand Up @@ -41,7 +41,7 @@
end

it "should send and receive NArray" do
tag = 0
tag = 1
rank = @world.rank
[NArray[1,2,3], NArray[3.0,2.0,1.0]].each do |ary0|
ary0 = NArray[1,2,3]
Expand All @@ -60,7 +60,7 @@
end

it "should send and receive without blocking" do
tag = 0
tag = 2
rank = @world.rank
message = "Hello from #{rank}"
if rank != 0
Expand Down

0 comments on commit 89b422d

Please sign in to comment.