# HG changeset patch # User Brian Neal # Date 1341691419 18000 # Node ID b04dea5f71a3e050a4b1fe63b26f52bbd4faecc0 # Parent 280facb82b8051e901309782367821a48b0165a7 process_data() uses step() now. diff -r 280facb82b80 -r b04dea5f71a3 enigma/machine.h --- a/enigma/machine.h Sat Jul 07 11:42:31 2012 -0500 +++ b/enigma/machine.h Sat Jul 07 15:03:39 2012 -0500 @@ -200,8 +200,7 @@ { for (std::size_t i = 0; i < n; ++i) { - step_rotors(); - *output++ = electric_signal(*input++) + 'A'; + *output++ = step(*input++) + 'A'; } }