Skip to content

Avoid 'Error: Total of weights cannot exceed 1'#27

Open
xavoh wants to merge 1 commit intohesstobi:masterfrom
xavoh:master
Open

Avoid 'Error: Total of weights cannot exceed 1'#27
xavoh wants to merge 1 commit intohesstobi:masterfrom
xavoh:master

Conversation

@xavoh
Copy link
Copy Markdown

@xavoh xavoh commented Mar 21, 2021

Normalise weights to 1 to avoid fuse.js error

@EnochMakenp
Copy link
Copy Markdown

On Pulsar (1.107.1) the error apparently blocks the package - making the change presented here locally solves the problem.
(Note that it is probably simpler to key in directly numbers that sum up to 1 instead of computing a division)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants