CompiledFunction::cfte

Details

  • This message is generated when external evaluation leads to an expression of an unexpected type.
  • External evaluation is used to obtain values for symbols and functions that are not handled within the CompiledFunction interpreter.
  • The return type of an external evaluation can be specified using the third argument in Compile.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[CompiledFunction::cfte].

Examples

Basic Examples  (1)

The compiler assumes that the value of the global symbol will be a vector with real elements:

Compiled evaluation proceeds if external evaluation gives an expression of the expected type:

Clear the value of cf: