fix type signature

fix close: AccelerateHS/accelerate#97