Repetitively referring objects as arguments for a function is unsupported. Use the following workaround and example to change it into a supported format.
Assign the repetitively referenced object to multiple different variables and pass these variables to a function.
The original script:
Re-write it using the following format:
u_dw ldw_1, ldw_2
ldw_1 = dw_1
ldw_2 = dw_1