View | Details | Raw Unified | Return to bug 50450
Collapse All | Expand All

(-)src/components/org/apache/jmeter/visualizers/Spline3.java (-6 / +2 lines)
Lines 224-233 Link Here
224
        }
224
        }
225
        // main iteration
225
        // main iteration
226
        while ((this.precision(oldX, newX) > this._minPrecision) && (iterations < this._maxIterations)) {
226
        while ((this.precision(oldX, newX) > this._minPrecision) && (iterations < this._maxIterations)) {
227
            System.arraycopy(oldX, 0, newX, 0, _n);
227
            for (i = 0; i < _n; i++) {
228
            for (i = 0; i < _n; i++) {
228
                oldX[i] = newX[i];
229
            }
230
            for (i = 0; i < _n; i++) {
231
                newX[i] = _B[i];
229
                newX[i] = _B[i];
232
                for (j = 0; j < i; j++) {
230
                for (j = 0; j < i; j++) {
233
                    newX[i] = newX[i] - (_A[i][j] * oldX[j]);
231
                    newX[i] = newX[i] - (_A[i][j] * oldX[j]);
Lines 254-262 Link Here
254
                log.debug(", divergence is possible");
252
                log.debug(", divergence is possible");
255
            }
253
            }
256
        }
254
        }
257
        for (i = 0; i < _n; i++) {
255
        System.arraycopy(newX, 0, _rs, 1, _n);
258
            _rS[i + 1] = newX[i];
259
        }
260
    }
256
    }
261
257
262
    /**
258
    /**

Return to bug 50450