arrayfire / arrayfire/arrayfire-python
timeit error in example convolve.py
Ouverte
- Langage dominant
- Python
- Étoiles
- 422
- Forks
- 63
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
When I run the convolve.py
I met a error with timeit function

I will get sample_time= 0 after sample_trials=3.So It will bring a ZeroDivisionError.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start by running the convolve.py example and inspect its timeit usage around sample_time and sample_trials. Confirm the example no longer reaches a ZeroDivisionError when sample_time is 0 and that it reports a valid timing result.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- developer-experience
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100