Skip to content

Commit 542dcc7

Browse files
💥 BREAKING CHANGE(knapsackApprox): Move eps parameter in front.
1 parent 72b3d0e commit 542dcc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/knapsackApprox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ import integerValuesKnapsack from './integerValuesKnapsack';
1515
* @param {Number} P Any lower bound on OPT > 0.
1616
*/
1717
const knapsackApprox = (
18+
eps,
1819
v,
1920
w,
2021
n,
2122
W,
22-
eps,
2323
P = max(
2424
increasing,
2525
map(

0 commit comments

Comments
 (0)