Skip to content

Commit

Permalink
refactoring: pass outfn like fn; from outer scope
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomif committed Feb 1, 2025
1 parent c1c2dcb commit 67c8e01
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ mkdir -p boards
{
local args="$1"
shift
local outfn="$1"
shift
echo "== ] $fn $args [ =="
$cmd $args "$fn" | tee "$outfn"
}
Expand All @@ -21,8 +19,8 @@ mkdir -p boards
fn=boards/binary_star"$i".board
outfn=solutions/binary_star"$i".sol
echo "== $fn =="
run "" "$outfn"
# run "--queens-on-kings" "$outfn"
run ""
# run "--queens-on-kings"
let ++i
done
) |& timestamper-with-elapsed --from-start --output ~/solver-log-binary_star1.ts.txt

0 comments on commit 67c8e01

Please sign in to comment.