Ignore:
Timestamp:
11/21/14 14:33:33 (18 months ago)
Author:
mmckerns
Message:

fix: remove stray random.seed causing seeding of random number generation;
add random_state; convert rng to use random_state, seed to use random_seed;
seed faster run for examples/mpmap_desolve

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mystic/examples/test_rosenbrock.py

    r713 r772  
    2323from mystic.monitors import Monitor, VerboseMonitor 
    2424 
    25 import random 
    26 random.seed(123) 
     25from mystic.tools import random_seed 
     26random_seed(123) 
    2727 
    2828ND = 3 
     
    7171   #ssow= VerboseMonitor(1) 
    7272 
     73  # import random 
    7374 #  xinit = [random.random() for j in range(ND)] 
    7475    xinit = [0.8,1.2,0.7] 
Note: See TracChangeset for help on using the changeset viewer.