Skip to content

Commit

Permalink
removed log
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed Oct 29, 2023
1 parent 5df7f1d commit ed98f9b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ void reb_input_fields(struct reb_simulation* r, FILE* inf, enum reb_simulation_b
if (fd.dtype == REB_POINTER || fd.dtype == REB_POINTER_ALIGNED){
if (field.size % reb_binary_field_descriptor_list[i].element_size){
reb_simulation_warning(r, "Inconsistent size encountered in binary field.");
printf("Offending field: %s\n", reb_binary_field_descriptor_list[i].name);
}
char* pointer = (char*)r + reb_binary_field_descriptor_list[i].offset;
if (fd.dtype == REB_POINTER_ALIGNED){
Expand All @@ -124,7 +123,6 @@ void reb_input_fields(struct reb_simulation* r, FILE* inf, enum reb_simulation_b
if (fd.dtype == REB_DP7){
if (field.size % reb_binary_field_descriptor_list[i].element_size){
reb_simulation_warning(r, "Inconsistent size encountered in binary field.");
printf("Offending field: %s\n", reb_binary_field_descriptor_list[i].name);
}
char* pointer = (char*)r + reb_binary_field_descriptor_list[i].offset;
struct reb_dp7* dp7 = (struct reb_dp7*)pointer;
Expand Down

0 comments on commit ed98f9b

Please sign in to comment.