Skip to content

Commit

Permalink
thread count is cpu count
Browse files Browse the repository at this point in the history
  • Loading branch information
YertleTurtleGit committed Oct 3, 2024
1 parent 0ac4c53 commit 6b3fb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
"def integrate_vector_field(\n",
" vector_field: np.ndarray,\n",
" target_iteration_count: int,\n",
" thread_count: int = 1,\n",
" thread_count: int = cpu_count,\n",
") -> np.ndarray:\n",
" shape = vector_field.shape[:2]\n",
" angles = np.linspace(0, 90, target_iteration_count, endpoint=False)\n",
Expand Down

0 comments on commit 6b3fb5f

Please sign in to comment.