diff --git a/package-lock.json b/package-lock.json index 96884dc6b0526c9b9e7ac295767d40e1f2911471..7190b3e5b6fe33a186421f77989cacf8f920dbd0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "jalhyd", - "version": "1.0.0", + "version": "1.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/param/param-value-iterator.ts b/src/param/param-value-iterator.ts index 8d59ecd5b551534e7da32df28101f885db4dfe22..9b233c5291ad625575f9d9ac8da9ab5c723dd533 100644 --- a/src/param/param-value-iterator.ts +++ b/src/param/param-value-iterator.ts @@ -122,7 +122,9 @@ export class ParamValueIterator implements INumberIterator { // min/max case 1: - const end = this._reverse ? this._index < this._param.min : this._index > this._param.max; + const end = this._reverse ? + this._index < this._param.min - this._param.step * 1E-7 : + this._index > this._param.max + this._param.step * 1E-7; return !end; // liste