CellularAutomaton::nocol
Details
-
- This message is generated when the first element in the rule specification is a function, and the second element is not the empty list {}.
- The rule specification is the first argument in CellularAutomaton. The color specification is the second element in the rule specification.
- Off[message] switches off the message; On[message] switches it on. For example: Off[CellularAutomaton::nocol].
Examples
Basic Examples (1)
An error occurs in this example:
CellularAutomaton[{Mod[#[[1]] + #[[3]], 2]&, None, 1}, {{1}, 0}, 5]This shows a correct use of {} as a color specification when the rule is specified as a function:
CellularAutomaton[{Mod[#[[1]] + #[[3]], 2]&, {}, 1}, {{1}, 0}, 5]