yuhang
/
Stage-Discharge-Relation
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
41d31bd0553b64e2c581125a4b84c9c10f23133a
Authored by
NightIsDark
2020-11-30 14:04:54 +0800
1 parent
ecb81bd9
gate width allow be zero
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
calc_gate.c
calc_gate.c
View file @
41d31bd
...
...
@@ -95,7 +95,7 @@ int data_validity_check(struct param_gate *param)
95
95
if(param->water_depth_behind_of_gate <-0.0000001){
96
96
return -1;
97
97
}
98
- if(param->gate_width <
0.0000001){
98
+ if(param->gate_width <
-
0.0000001){
99
99
return -1;
100
100
}
101
101
return 0;
...
...