]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/math/matrices/elimination/elimination.factor
cleanup some use of with-scope.
[factor.git] / basis / math / matrices / elimination / elimination.factor
index 6dfcf9f0ca453e312625eac37c355beb4afc8480..c3beb6b0dd855f71c505ab6913fe0ca8ac3ffbc1 100644 (file)
@@ -7,7 +7,7 @@ IN: math.matrices.elimination
 SYMBOL: matrix
 
 : with-matrix ( matrix quot -- )
-    [ swap matrix set call matrix get ] with-scope ; inline
+    matrix swap [ matrix get ] compose with-variable ; inline
 
 : nth-row ( row# -- seq ) matrix get nth ;