Displaying 1 result from an estimated 1 matches for "plant_record".
Did you mean:
flint_record
2004 Nov 29
1
data is getting corrupted
...water_capacity = REAL( plot_h20_sexp )[i];
s_ptr->plots_ptr[i].mean_annual_precip = REAL( plot_map_sexp )[i];
}
// UNPROTECT( 8 );
/* build the plants vector */
s_ptr->n_plants = asInteger( get_list_element( sample, "n.plants" ) );
s_ptr->plants_ptr = (struct PLANT_RECORD*)calloc(
s_ptr->n_plants, sizeof( struct PLANT_RECORD ) );
/* s_ptr->plants_ptr = (struct PLANT_RECORD*)Calloc( */
/* s_ptr->n_plants, struct PLANT_RECORD ); */
/* build the plots vector */
plant_list = get_list_element( sample, "plants" );
PROTECT( plant_...