GitLab maintenance scheduled for Today, 2019-12-05, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit 4a6b233e authored by Misbah Mubarak's avatar Misbah Mubarak

Merge branch 'model-stats-warning' into 'master'

Report error when model-level sampling hasn't been implemented

See merge request !31
parents 64789c54 0b74d964
......@@ -629,6 +629,8 @@ const tw_lptype* model_net_get_lp_type(int net_id)
const st_model_types* model_net_get_model_stat_type(int net_id)
{
if (!method_array[net_id]->mn_get_model_stat_types)
tw_error(TW_LOC, "mn_get_model_stat_types not defined for network model with net_id: %d\n", net_id);
return method_array[net_id]->mn_get_model_stat_types();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment