Permalink
Browse files

Made randomness in the net layer always seed the same.

Cut out junk from view.rb, started cleanup
  • Loading branch information...
1 parent 524978d commit 7c598294ea65cb6d6faf50f7477a112be3c3a0a0 Cyrus Hall committed Mar 7, 2007
Showing with 53 additions and 378 deletions.
  1. +1 −0 lib/gosim/network.rb
  2. +52 −378 lib/gosim/view.rb
View
@@ -16,6 +16,7 @@ def initialize()
GSL::Rng.env_setup
@rand_gen = GSL::Rng.alloc("mt19937")
+ @rand_gen.set(0)
@sim.add_observer(self)
setup
end
Oops, something went wrong.

0 comments on commit 7c59829

Please sign in to comment.