Skip to content

Commit

Permalink
v1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeongho Nam committed Mar 14, 2017
1 parent 3d405e4 commit 7069318
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# ======================================================
# CUSTOM IGNORE
# ======================================================
.vscopde/
handbook/
lib/

Expand Down
4 changes: 2 additions & 2 deletions src/std/Deque.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,10 +542,10 @@ namespace std

// ERASE LAST ELEMENT
let lastArray: Array<T> = this.matrix_[this.matrix_.length - 1];
lastArray.splice(lastArray.length - 1, 1);
lastArray.pop();

if (lastArray.length == 0 && this.matrix_.length > 1)
this.matrix_.splice(this.matrix_.length - 1, 1);
this.matrix_.pop();

// SHRINK SIZE
this.size_--;
Expand Down
2 changes: 1 addition & 1 deletion src/std/Vector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ namespace std
*/
public pop_back(): void
{
this.erase(this.end().prev());
this.data_.pop();
}

/**
Expand Down

0 comments on commit 7069318

Please sign in to comment.