From 18e4074ba563ac7e46827a8135f73c717d625c38 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 3 Jun 2026 20:28:08 +0000 Subject: [PATCH 1/5] docs: correct `@throws` text for `duration` in `simulate/iter/bartlett-hann-pulse` The runtime guard at `lib/main.js:114` is `if ( opts.duration > opts.period )`, allowing `duration === period` (which the `-1` sentinel default explicitly assigns), and the thrown `RangeError` message says "must be less than or equal to the period". The `@throws` tag was stale, claiming the strict "less than" contract used by the sibling `simulate/iter/pulse` package. The test description ("greater than the pulse period") already matches the inclusive runtime behavior. --- .../@stdlib/simulate/iter/bartlett-hann-pulse/lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/simulate/iter/bartlett-hann-pulse/lib/main.js b/lib/node_modules/@stdlib/simulate/iter/bartlett-hann-pulse/lib/main.js index b19cc9b1bb9b..04636f188a93 100644 --- a/lib/node_modules/@stdlib/simulate/iter/bartlett-hann-pulse/lib/main.js +++ b/lib/node_modules/@stdlib/simulate/iter/bartlett-hann-pulse/lib/main.js @@ -65,7 +65,7 @@ function bartlettHann( t, T, A ) { * @param {NonNegativeInteger} [options.iter=1e308] - number of iterations * @throws {TypeError} options argument must be an object * @throws {TypeError} must provide valid options -* @throws {RangeError} pulse duration must be less than the period +* @throws {RangeError} pulse duration must be less than or equal to the period * @throws {RangeError} pulse duration must be greater than `2` * @returns {Iterator} iterator * From f43fff1ec003d93a19b8bff4428652eba0c649ff Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 3 Jun 2026 20:28:14 +0000 Subject: [PATCH 2/5] docs: correct `@throws` text for `duration` in `simulate/iter/bartlett-pulse` The runtime guard at `lib/main.js:90` is `if ( opts.duration > opts.period )`, allowing `duration === period` (which the `-1` sentinel default explicitly assigns), and the thrown `RangeError` message says "must be less than or equal to the period". The `@throws` tag was stale, claiming the strict "less than" contract used by the sibling `simulate/iter/pulse` package. The test description ("greater than the pulse period") already matches the inclusive runtime behavior. --- .../@stdlib/simulate/iter/bartlett-pulse/lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/simulate/iter/bartlett-pulse/lib/main.js b/lib/node_modules/@stdlib/simulate/iter/bartlett-pulse/lib/main.js index 853d8cf1cbb7..0215286f0ede 100644 --- a/lib/node_modules/@stdlib/simulate/iter/bartlett-pulse/lib/main.js +++ b/lib/node_modules/@stdlib/simulate/iter/bartlett-pulse/lib/main.js @@ -40,7 +40,7 @@ var validate = require( './validate.js' ); * @param {NonNegativeInteger} [options.iter=1e308] - number of iterations * @throws {TypeError} options argument must be an object * @throws {TypeError} must provide valid options -* @throws {RangeError} pulse duration must be less than the period +* @throws {RangeError} pulse duration must be less than or equal to the period * @throws {RangeError} pulse duration must be greater than `2` * @returns {Iterator} iterator * From 4b1283515bc6f9545e30d0c26a1aa5ac7e47c027 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 3 Jun 2026 20:28:20 +0000 Subject: [PATCH 3/5] docs: correct `@throws` text for `duration` in `simulate/iter/flat-top-pulse` The runtime guard at `lib/main.js:115` is `if ( opts.duration > opts.period )`, allowing `duration === period` (which the `-1` sentinel default explicitly assigns), and the thrown `RangeError` message says "must be less than or equal to the period". The `@throws` tag was stale, claiming the strict "less than" contract used by the sibling `simulate/iter/pulse` package. The test description ("greater than the pulse period") already matches the inclusive runtime behavior. --- .../@stdlib/simulate/iter/flat-top-pulse/lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/simulate/iter/flat-top-pulse/lib/main.js b/lib/node_modules/@stdlib/simulate/iter/flat-top-pulse/lib/main.js index 6db2831d721f..81d52c6be996 100644 --- a/lib/node_modules/@stdlib/simulate/iter/flat-top-pulse/lib/main.js +++ b/lib/node_modules/@stdlib/simulate/iter/flat-top-pulse/lib/main.js @@ -66,7 +66,7 @@ function flatTop( t, A, tau ) { * @param {NonNegativeInteger} [options.iter=1e308] - number of iterations * @throws {TypeError} options argument must be an object * @throws {TypeError} must provide valid options -* @throws {RangeError} pulse duration must be less than the period +* @throws {RangeError} pulse duration must be less than or equal to the period * @throws {RangeError} pulse duration must be greater than `2` * @returns {Iterator} iterator * From ed193092a2aef9465071604610d7139d90a55d6e Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 3 Jun 2026 20:28:25 +0000 Subject: [PATCH 4/5] docs: correct `@throws` text for `duration` in `simulate/iter/hann-pulse` The runtime guard at `lib/main.js:91` is `if ( opts.duration > opts.period )`, allowing `duration === period` (which the `-1` sentinel default explicitly assigns), and the thrown `RangeError` message says "must be less than or equal to the period". The `@throws` tag was stale, claiming the strict "less than" contract used by the sibling `simulate/iter/pulse` package. The test description ("greater than the pulse period") already matches the inclusive runtime behavior. --- lib/node_modules/@stdlib/simulate/iter/hann-pulse/lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/simulate/iter/hann-pulse/lib/main.js b/lib/node_modules/@stdlib/simulate/iter/hann-pulse/lib/main.js index 27c4538686b6..08497df132ee 100644 --- a/lib/node_modules/@stdlib/simulate/iter/hann-pulse/lib/main.js +++ b/lib/node_modules/@stdlib/simulate/iter/hann-pulse/lib/main.js @@ -40,7 +40,7 @@ var validate = require( './validate.js' ); * @param {NonNegativeInteger} [options.iter=1e308] - number of iterations * @throws {TypeError} options argument must be an object * @throws {TypeError} must provide valid options -* @throws {RangeError} pulse duration must be less than the period +* @throws {RangeError} pulse duration must be less than or equal to the period * @throws {RangeError} pulse duration must be greater than `2` * @returns {Iterator} iterator * From 8b3f06e8bac9312ad934072dd87c0cb8cac111b8 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 3 Jun 2026 20:28:31 +0000 Subject: [PATCH 5/5] docs: correct `@throws` text for `duration` in `simulate/iter/lanczos-pulse` The runtime guard at `lib/main.js:90` is `if ( opts.duration > opts.period )`, allowing `duration === period` (which the `-1` sentinel default explicitly assigns), and the thrown `RangeError` message says "must be less than or equal to the period". The `@throws` tag was stale, claiming the strict "less than" contract used by the sibling `simulate/iter/pulse` package. The test description ("greater than the pulse period") already matches the inclusive runtime behavior. --- .../@stdlib/simulate/iter/lanczos-pulse/lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/simulate/iter/lanczos-pulse/lib/main.js b/lib/node_modules/@stdlib/simulate/iter/lanczos-pulse/lib/main.js index e1d1a5dd53f8..88932d589602 100644 --- a/lib/node_modules/@stdlib/simulate/iter/lanczos-pulse/lib/main.js +++ b/lib/node_modules/@stdlib/simulate/iter/lanczos-pulse/lib/main.js @@ -40,7 +40,7 @@ var validate = require( './validate.js' ); * @param {NonNegativeInteger} [options.iter=1e308] - number of iterations * @throws {TypeError} options argument must be an object * @throws {TypeError} must provide valid options -* @throws {RangeError} pulse duration must be less than the period +* @throws {RangeError} pulse duration must be less than or equal to the period * @throws {RangeError} pulse duration must be greater than `2` * @returns {Iterator} iterator *