(v: bool = True)
| 57 | |
| 58 | |
| 59 | def set_use_bottleneck(v: bool = True) -> None: |
| 60 | # set/unset to use bottleneck |
| 61 | global _USE_BOTTLENECK |
| 62 | if _BOTTLENECK_INSTALLED: |
| 63 | _USE_BOTTLENECK = v |
| 64 | |
| 65 | |
| 66 | set_use_bottleneck(get_option("compute.use_bottleneck")) |