Lazy propagation

how to not update any number if the number is less than zero or equal to zero in an array by lazy propagation only