Removed third argument.

Second argument of merge overwrites its first argument except if
second argument has NaNs (in this case first argument takes
precedence). This commit reverts fd7476e6 and adds a new unit test.
parent c9def378
Pipeline #2911 passed with stage
in 1 minute and 17 seconds