Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derive per county patch library #10

Merged
merged 10 commits into from
Jun 25, 2020
Prev Previous commit
Next Next commit
pga: remove unused patch structure attribute
  • Loading branch information
petrasovaa committed May 28, 2020
commit 9ccdfb1cb0fcc35854c685572e1fd549de525c86
1 change: 0 additions & 1 deletion r.futures/r.futures.pga/inputs.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,6 @@ void read_patch_sizes(struct PatchSizes *patch_sizes,
int n_max_patches;

n_max_patches = 0;
patch_sizes->max_patches = 0;
patch_sizes->max_patch_size = 0;
fp = fopen(patch_sizes->filename, "rb");
if (fp) {
Expand Down
2 changes: 0 additions & 2 deletions r.futures/r.futures.pga/inputs.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ struct Potential
struct PatchSizes
{
const char *filename;
// max number of patches // total number of patches?
int max_patches;
// array of patches
int **patch_sizes;
// array of number of patches per area
Expand Down