Commit 701e6abd0e9d438001084ecb5bc0e54b85329c03

Authored by NightIsDark
1 parent 52321d4c

para check error fix

Showing 1 changed file with 1 additions and 1 deletions
calc_gate.c
... ... @@ -83,7 +83,7 @@ int data_validity_check(struct param_gate *param)
83 83 if(param->wingwall >=warped_wingwall || param->wingwall<=parallel_wingwall){
84 84 return -1;
85 85 }
86   - if(!(param->drop_step = 0 || param->drop_step =1)){
  86 + if(!(param->drop_step == 0 || param->drop_step == 1)){
87 87 return -1;
88 88 }
89 89 if(param->openning_height_of_gate <-0.0000001){
... ...