#include <stdlib.h>
#include "family.h"
+#include "individual.h"
#include "../debug.h"
family->children = tmp;
family->children[family->children_no] = individual;
family->children_no++;
+ familia_individual_set_parents(individual, family);
}
else {
debug("There were problems with allocating memory for family children.\n");
/**
* Adds new child in the given family
+ * Automatically sets family as parents in individual variable.
+ *
* @parameter family to set the individual
* @parameter individual which will be added
*/