Skip to content

Make the changeGrid function behave like a call-by-value function

Ferdinand Fischer requested to merge changeGrid into master

Because of the handle functions, the changeGrid function changes the grid of the original quantity object. This is very unecpected, for me it is more common to see an object with a changed grid as a new object. Thus, I recommend to change the behaviour of this function to generate new objects.

Merge request reports