Skip to content

Commit 16a9cc0

Browse files
fix the compilation error with VTR_ASSERT_LEVEL=4
1 parent c7b9ce0 commit 16a9cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/place/place_timing_update.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ void update_td_costs(const PlaceDelayModel* delay_model,
298298

299299
#ifdef VTR_ASSERT_DEBUG_ENABLED
300300
double check_timing_cost = 0.;
301-
comp_td_costs(delay_model, place_crit, &check_timing_cost);
301+
comp_td_costs(delay_model, place_crit, placer_state, &check_timing_cost);
302302
VTR_ASSERT_DEBUG_MSG(check_timing_cost == *timing_cost,
303303
"Total timing cost calculated incrementally in update_td_costs() is "
304304
"not consistent with value calculated from scratch in comp_td_costs()");

0 commit comments

Comments
 (0)