Plug wrapDouble

Change-Id: Idc79338d4b1c923a0e8cfd60f33c259c170beb8f