Skip to content

Conversation

@sufikaur
Copy link

@sufikaur sufikaur commented Jan 23, 2026

the line num_total_samples = int(np.ceil(scale_factor * n_samples_remaining)) causes an error in WaterTAP:

FAILED tutorials/parameter_sweep_demo.ipynb::parameter_sweep_demo.ipynb - TypeError: only 0-dimensional arrays can be converted to Python scalars

this is fixed if the item is pulled from (scale_factor * n_samples_remaining) before casting to an np.ceil is applied.

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.

1 participant