GitLab maintenance scheduled form Friday, 2021-06-18 5:00pm to Satursday, 2021-06-19 10:00pm CT - Services will be unavailable during this time.

Commit 5c0e95f9 authored by Philip Carns's avatar Philip Carns

extra safety check

parent 85923c19
......@@ -189,6 +189,8 @@ static int sn_get_msg_sz(void)
/* lets caller specify model parameters to use */
static void sn_set_params(double net_startup_ns, double net_bw_mbs)
assert(net_startup_ns > 0);
assert(net_bw_mbs > 0);
global_net_startup_ns = net_startup_ns;
global_net_bw_mbs = net_bw_mbs;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment