Ignore:
Timestamp:
02/06/12 12:05:50 (2 years ago)
Author:
Jure Zbontar <jure.zbontar@…>
Branch:
default
Message:

Rename RandomGenerator with Random in code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/ensemble/forest.py

    r9349 r9694  
    126126        if not self.rand: 
    127127            self.rand = random.Random(0) 
    128         self.randorange = Orange.core.RandomGenerator(self.rand.randint(0,2**31-1)) 
     128        self.randorange = Orange.misc.Random(self.rand.randint(0,2**31-1)) 
    129129 
    130130        if learner == None: 
     
    320320        if not self.rand: 
    321321            self.rand = random.Random(0) 
    322         self.randorange = Orange.core.RandomGenerator(self.rand.randint(0,2**31-1)) 
     322        self.randorange = Orange.misc.Random(self.rand.randint(0,2**31-1)) 
    323323 
    324324        if learner == None: 
Note: See TracChangeset for help on using the changeset viewer.