CompiledFunction::cfta
The argument passed to the CompiledFunction expression is a number rather than a vector:
cf = Compile[{{x, _Real, 1}}, Length[x]]cf[1.7]Compiled evaluation proceeds without error if the argument has the expected type:
cf[{1.7}]Clear[cf]