mirror of
https://github.com/louisrubet/rpn
synced 2025-01-29 20:34:21 +01:00
#50: corrected regression on rot
This commit is contained in:
parent
aa660fe8f4
commit
b9d9f631b0
1 changed files with 1 additions and 1 deletions
|
@ -71,8 +71,8 @@ void rot(void)
|
|||
(void)_stack->pop_back();
|
||||
(void)_stack->pop_back();
|
||||
(void)_stack->pop_back();
|
||||
stack::copy_and_push_back(_branch_stack, 2, *_stack);
|
||||
stack::copy_and_push_back(_branch_stack, 1, *_stack);
|
||||
stack::copy_and_push_back(_branch_stack, 2, *_stack);
|
||||
stack::copy_and_push_back(_branch_stack, 0, *_stack);
|
||||
(void)_branch_stack.pop_back();
|
||||
(void)_branch_stack.pop_back();
|
||||
|
|
Loading…
Add table
Reference in a new issue