Skip to content

Commit

Permalink
Fix for WATCH statement weight vector index for net_send (copy from B…
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodk authored Jun 22, 2022
1 parent 426b508 commit d38eb74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen/codegen_c_visitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3663,7 +3663,7 @@ void CodegenCVisitor::print_watch_check() {
printer->add_text("net_send_buffering(");
auto t = get_variable_name("t");
printer->add_text(
fmt::format("ml->_net_send_buffer, 0, {}, 0, {}, {}+0.0, ", tqitem, point_process, t));
fmt::format("ml->_net_send_buffer, 0, {}, -1, {}, {}+0.0, ", tqitem, point_process, t));
watch->get_value()->accept(*this);
printer->add_text(");");
printer->add_newline();
Expand Down

0 comments on commit d38eb74

Please sign in to comment.