Skip to content

Commit

Permalink
fixed defineOrigMaxAngle()
Browse files Browse the repository at this point in the history
  • Loading branch information
bourgesl committed May 24, 2019
1 parent 5a664b9 commit ed3395a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/fr/jmmc/oitools/image/FitsImage.java
Original file line number Diff line number Diff line change
Expand Up @@ -670,9 +670,7 @@ public double getOrigMaxAngle() {
* Define the initial max angle (radians)
*/
public void defineOrigMaxAngle() {
if (Double.isNaN(this.origMaxAngle)) {
this.origMaxAngle = this.getMaxAngle();
}
this.origMaxAngle = this.getMaxAngle();
}

// utility methods:
Expand Down

0 comments on commit ed3395a

Please sign in to comment.