fix(quantlib): normalize explicit weights without overflow
fix(quantlib): normalize explicit weights without overflow: a task in github-trending-environments-10k (Harbor dataset). Title: fix(quantlib): normalize explicit weights without overflow
The task
**Title:** fix(quantlib): normalize explicit weights without overflow