diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/GipfelWidget.cxx | 10 | 
1 files changed, 3 insertions, 7 deletions
| diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index dcbb38f..e6e2087 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -133,16 +133,12 @@ GipfelWidget::load_image(char *file) {  			load_distortion_params(buf);  		} -		if (isnan(pan->parms.k0)) { +		if (isnan(pan->parms.k0))  			pan->parms.k0 = 0.0; -		} - -		if (isnan(pan->parms.k1)) { +		if (isnan(pan->parms.k1))  			pan->parms.k1 = 0.0; -		} -		if (isnan(pan->parms.x0)) { +		if (isnan(pan->parms.x0))  			pan->parms.x0 = 0.0; -		}  	}  	return 0; | 
