Commits

Marko Toplak  committed 2e6ab05

Code indentation.

  • Participants
  • Parent commits 12ecb82

Comments (0)

Files changed (1)

File source/orange/discretize.cpp

     if (S2dist.abs==0)
       break;
 
-	  float entro1 = S1dist.abs*float(getEntropy(S1dist))/N;
-	  float entro2 = S2dist.abs*float(getEntropy(S2dist))/N;
-	  float E = entro1+entro2;
+	float entro1 = S1dist.abs*float(getEntropy(S1dist))/N;
+	float entro2 = S2dist.abs*float(getEntropy(S2dist))/N;
+	float E = entro1+entro2;
     if (   (!wins || (E<bestE)) && ((wins=1)==1)
         || (E==bestE) && rgen.randbool(++wins)) {
       bestS1 = S1dist;