Skip to content

Commit ed3395a

Browse files
committed
fixed defineOrigMaxAngle()
1 parent 5a664b9 commit ed3395a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/fr/jmmc/oitools/image/FitsImage.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -670,9 +670,7 @@ public double getOrigMaxAngle() {
670670
* Define the initial max angle (radians)
671671
*/
672672
public void defineOrigMaxAngle() {
673-
if (Double.isNaN(this.origMaxAngle)) {
674-
this.origMaxAngle = this.getMaxAngle();
675-
}
673+
this.origMaxAngle = this.getMaxAngle();
676674
}
677675

678676
// utility methods:

0 commit comments

Comments
 (0)