Skip to content

Commit

Permalink
Fix bug on error path removal
Browse files Browse the repository at this point in the history
1st error caused the 2nd error during cleanup, which obfuscated the 1st
error.
  • Loading branch information
cliffclick committed Dec 8, 2013
1 parent eef6ab2 commit c15765d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
<classpathentry kind="lib" path="lib/jogamp/jocl.jar" sourcepath="lib/jogamp/jocl-sources.jar"/>
<classpathentry kind="lib" path="lib/jogamp/gluegen-rt-natives-linux-amd64.jar"/>
<classpathentry kind="lib" path="lib/jogamp/gluegen-rt.jar" sourcepath="lib/jogamp/gluegen-rt-sources.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/Python 2.7.2 (/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python) interpreter library"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/python) interpreter library"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
2 changes: 1 addition & 1 deletion src/main/java/water/exec/Env.java
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ private void subRef(Env global) {
// Remove everything
public void remove() {
// Remove all shallow scopes
while( _tod > 1 ) popScope();
while( _tod > 0 ) popScope();
// Push changes at the outer scope into the K/V store
while( _sp > 0 ) {
if( isAry() && _key[_sp-1] != null ) { // Has a K/V mapping?
Expand Down

0 comments on commit c15765d

Please sign in to comment.