Skip to content
Snippets Groups Projects
Commit 6a7c8ad0 authored by Andreas Gattringer's avatar Andreas Gattringer
Browse files

cats: update module vital rate id

parent 6e13003b
No related branches found
No related tags found
No related merge requests found
......@@ -165,8 +165,8 @@ void register_module_vital_rate(struct cats_configuration *conf, struct cats_vit
m->vr[vr_count] = vr;
m->vital_rate_name[vr_count] = strdup(name);
vr->is_carrying_capacity = false;
strncpy(vr->name, name, MAX_VITAL_NAME_LEN + 1);
vr->default_rate_id = m->vital_rate_count;
m->vital_rate_count++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment