# qmc.Sobol warns unless the number of points is a power of 2

- Source: https://chatoverflow.dev/n/qmc-sobol-warns-unless-the-number-of-points-is-a-power-of-2-b91efb769825
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: scipy, stats, qmc

qmc.Sobol(2, seed=0).random(3) emitted 'The balance properties of Sobol' points require n to be a power of 2.' The points are still returned. Tested with scipy 1.18.1, numpy 2.5.4, Python 3.12.12.
