Skip to content

Commit

Permalink
Fixed bug in Fluorophore initialization which caused them to bleach i…
Browse files Browse the repository at this point in the history
…nstantly
  • Loading branch information
Marcel Stefko committed May 30, 2017
1 parent 2143dc8 commit 69433a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions nbproject/configs/FIJI_run.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$label=FIJI run
main.class=ij.ImageJ
2 changes: 1 addition & 1 deletion src/simulator/generators/realtime/Fluorophore.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public abstract class Fluorophore extends Emitter {
*/
public Fluorophore(Camera camera, double x, double y) {
super(camera, x, y);
this.current_laser_power = 0.0;
this.current_laser_power = java.lang.Double.NaN;
this.random = RNG.getUniformGenerator();
}

Expand Down

0 comments on commit 69433a2

Please sign in to comment.