diff options
author | Paul Phillips <paulp@improving.org> | 2011-01-02 17:40:25 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-01-02 17:40:25 +0000 |
commit | 635bc9c17b0d35e9cf8029cf24aee8d3594a143f (patch) | |
tree | 7b7ca9282bd2c009f9c0e1c4c00ffb7eedf94802 /test/files/run/Course-2002-05.scala | |
parent | 533ffe9482c530489ad4f6670831b8d87f78193a (diff) | |
download | scala-635bc9c17b0d35e9cf8029cf24aee8d3594a143f.tar.gz scala-635bc9c17b0d35e9cf8029cf24aee8d3594a143f.tar.bz2 scala-635bc9c17b0d35e9cf8029cf24aee8d3594a143f.zip |
Misc uninteresting tidbits to take some weight ...
Misc uninteresting tidbits to take some weight off overly large patches
in progress. No review.
Diffstat (limited to 'test/files/run/Course-2002-05.scala')
-rw-r--r-- | test/files/run/Course-2002-05.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/Course-2002-05.scala b/test/files/run/Course-2002-05.scala index a1d71e2818..e6764b92c8 100644 --- a/test/files/run/Course-2002-05.scala +++ b/test/files/run/Course-2002-05.scala @@ -178,9 +178,9 @@ object M4 { isSafe(col, p.tail, delta + 1))); for ( - val placement <- placeQueens(row - 1); - val col <- columns; - isSafe(col, placement, 1) + placement <- placeQueens(row - 1); + col <- columns; + if isSafe(col, placement, 1) ) yield { col :: placement } |