CompiledFunction::cfsa

Details

  • This message is generated when the indicated argument passed to a CompiledFunction expression does not have the expected type.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[CompiledFunction::cfsa].

Examples

Basic Examples  (1)

The argument passed to the CompiledFunction expression is an inexact real number:

Compiled evaluation proceeds without error if the argument has the expected type:

Clear the value of cf: