When I attempt to reproduce this using J 5.04, I get a different error report:
cnot_gate =: 3 : '(4 4 $ 1 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0) (+/ . *) (x.)' cnot_gate (,. 0 1 0 1) |value error: x. | (4 4$1 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0)(+/ .*)( x.) (4 4 $ 1 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0) (+/ . *) (,. 0 1 0 1) 0 1 1 0 ____________________________________________________________________________________ Don't get soaked. Take a quick peek at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
