615347b refactoring: provide lastValue with the noise_function

Authored and Committed by Libor Polčák 3 years ago
    refactoring: provide lastValue with the noise_function
    
    The noise_function() requires lastValue to be defined in the parent
    scope (or above). As this is not obvious, it makes more sense to define
    the variable with the noise function.
    
        
file modified
+2 -1
file modified
+0 -2