What is typeStr? We don't generally have types to random number generators, they're just numpy.random.RandomState and different method calls to the same object can give different types of random numbers.