CompiledFunction::cftec
Details
-
- This message is generated when type coercion occurs for the indicated expression during compiled evaluation.
- This message is generated only if a special option for that purpose has been set.
- Off[message] switches off the message; On[message] switches it on. For example: Off[CompiledFunction::cftec].
Examples
Basic Examples (1)
A message is generated after an option to generate that message has been set:
SetSystemOptions["CompileOptions" -> {"CompileReportCoercion" -> True}];ftest[x_] := {1}Compile[{{x, _Real, 1}}, ftest[x]][{5.6}]Clear[ftest]SetSystemOptions["CompileOptions" -> {"CompileReportCoercion" -> False}];