Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pavpanchekha committed Aug 29, 2024
1 parent 1756e4c commit 0b259f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/egg-herbie.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,8 @@
(define-values (egg-graph* iteration-data) (egraph-run-rules egg-graph egg-rules params))

; get cost statistics
(for ([iter (in-list iteration-data)] [i (in-naturals)])
(for ([iter (in-list iteration-data)]
[i (in-naturals)])
(define cnt (iteration-data-num-nodes iter))
(define cost (apply + (map (λ (id) (egraph-get-cost egg-graph* id i)) root-ids)))
(timeline-push! 'egraph i cnt cost (iteration-data-time iter)))
Expand Down

0 comments on commit 0b259f2

Please sign in to comment.