Program: 180353
Project: 180353
Buggy source:
@Override protected AdaptiveStepConfiguration createConfiguration(){
  final OdeSystem odeSystem=getOdeSystem(10);
  return new AdaptiveStepConfiguration(){
    private float[] maxAbsoluteError;
    private OrthogonalSpace space;
    private float[] steps;
    private PrecisionConfiguration precisionConfiguration=new PrecisionConfiguration(){
      public int getDimension(){
        return 10;
      }
      public float getMaxAbsoluteError(      int dim){
        if (maxAbsoluteError == null) {
          maxAbsoluteError=new float[getDimension()];
          for (int d=0; d < getDimension(); d++) {
            maxAbsoluteError[d]=1;
          }
        }
        return maxAbsoluteError[dim];
      }
      public float getMaxRelativeError(){
        return (float)0.1;
      }
      public Element toXML(      Document doc){
        throw new UnsupportedOperationException("String_Node_Str");
      }
    }
;
    @Override public int getDimension(){
      return 10;
    }
    @Override public int getMaxNumberOfIterations(){
      return 100;
    }
    @Override public OdeSystem getOdeSystem(){
      return odeSystem;
    }
    public OrthogonalSpace getSpace(){
      if (space == null) {
        float[] minBounds=new float[getDimension()];
        for (int dim=0; dim < getDimension(); dim++) {
          minBounds[dim]=0;
        }
        float[] maxBounds=new float[getDimension()];
        for (int dim=0; dim < getDimension(); dim++) {
          maxBounds[dim]=(dim + 1) * 10000;
        }
        space=new OrthogonalSpace(new ArrayPoint(0,minBounds),new ArrayPoint((float)100,maxBounds));
      }
      return space;
    }
    @Override public float[] getSteps(){
      if (steps == null) {
        steps=new float[getDimension()];
        for (int dim=0; dim < getDimension(); dim++) {
          steps[dim]=1;
        }
      }
      return steps;
    }
    @Override public float getTimeStep(){
      return (float)0.01;
    }
    public PrecisionConfiguration getPrecisionConfiguration(){
      return precisionConfiguration;
    }
  }
;
}

Fixed version (ground truth):
@Override protected AdaptiveStepConfiguration createConfiguration(){
  final OdeSystem odeSystem=getOdeSystem(10);
  return new AdaptiveStepConfiguration(){
    private float[] maxAbsoluteError;
    private OrthogonalSpace space;
    private float[] steps;
    private PrecisionConfiguration precisionConfiguration=new PrecisionConfiguration(){
      public int getDimension(){
        return 10;
      }
      public float getMaxAbsoluteError(      int dim){
        if (maxAbsoluteError == null) {
          maxAbsoluteError=new float[getDimension()];
          for (int d=0; d < getDimension(); d++) {
            maxAbsoluteError[d]=1;
          }
        }
        return maxAbsoluteError[dim];
      }
      public float getMaxRelativeError(){
        return (float)0.1;
      }
      public Element toXML(      Document doc){
        throw new UnsupportedOperationException("String_Node_Str");
      }
      public float getTimeStep(){
        return 0.01f;
      }
    }
;
    @Override public int getDimension(){
      return 10;
    }
    @Override public int getMaxNumberOfIterations(){
      return 100;
    }
    @Override public OdeSystem getOdeSystem(){
      return odeSystem;
    }
    public OrthogonalSpace getSpace(){
      if (space == null) {
        float[] minBounds=new float[getDimension()];
        for (int dim=0; dim < getDimension(); dim++) {
          minBounds[dim]=0;
        }
        float[] maxBounds=new float[getDimension()];
        for (int dim=0; dim < getDimension(); dim++) {
          maxBounds[dim]=(dim + 1) * 10000;
        }
        space=new OrthogonalSpace(new ArrayPoint(0,minBounds),new ArrayPoint((float)100,maxBounds));
      }
      return space;
    }
    @Override public float[] getSteps(){
      if (steps == null) {
        steps=new float[getDimension()];
        for (int dim=0; dim < getDimension(); dim++) {
          steps[dim]=1;
        }
      }
      return steps;
    }
    @Override public float getTimeStep(){
      return (float)0.01;
    }
    public PrecisionConfiguration getPrecisionConfiguration(){
      return precisionConfiguration;
    }
  }
;
}