else {
} else { if (!m_classIsNominal) { normDist = new double[1]; normDist[0] = (tempDist[0] / tempDist[1]); tempDist = normDist; } else {
  public double [] distributionForInstance(Instance instance)       throws Exception  {    hashKey thekey;    double [] tempDist;    double [] normDist;    m_disTransform.input(instance);    instance = m_disTransform.output();    m_delTransform.input(instance);    instance = m_delTransform.output();    if (!m_classIsNominal)      throw new Exception("Class is numeric!");    else    {      thekey = new hashKey(instance, instance.numAttributes());      // if this one is not in the table      if ((tempDist = (double [])m_entries.get(thekey)) == null)      {	if (m_useIBk)	{	  tempDist = m_ibk.distributionForInstance(instance);	}	else	{	  tempDist = new double [m_theInstances.classAttribute().numValues()];	  tempDist[(int)m_majority] = 1.0;	}      }      else      {	// normalise distribution	normDist = new double [tempDist.length];	System.arraycopy(tempDist,0,normDist,0,tempDist.length);	Utils.normalize(normDist);	tempDist=normDist;      }    }    return tempDist;  }