The function takes a list of real numbers as input and returns a list of the same length with some values modified. The function only squares the positive numbers in the input list and leaves the negative numbers unchanged.

