Skip to content

Commit

Permalink
ZeissLSMReader: replace assignment operator by logical and operator
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Jul 22, 2024
1 parent 16a7bf5 commit cad5a4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ else if (zCoordinates.size() == i) {
// if this is not the first channel, copy the color from the
// previous channel (necessary for SIM data)
// otherwise set the color to white, as this will display better
if (red == 0 && green == 0 & blue == 0) {
if (red == 0 && green == 0 && blue == 0) {
if (i > 0 && isSIM) {
red = channelColor[i - 1].getRed();
green = channelColor[i - 1].getGreen();
Expand Down

0 comments on commit cad5a4f

Please sign in to comment.