Skip to content

Commit

Permalink
use Threadpool
Browse files Browse the repository at this point in the history
  • Loading branch information
mcocdawc committed Jan 13, 2025
1 parent 0eefb8c commit 87b62d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/quemb/kbe/pbe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import os
import pickle
from multiprocessing import Pool
from multiprocessing.pool import ThreadPool as Pool

import h5py
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion src/quemb/molbe/be_parallel.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Author(s): Oinam Romesh Meitei, Leah Weisburn

import os
from multiprocessing import Pool
from multiprocessing.pool import ThreadPool as Pool

from numpy import asarray, diag_indices, einsum, float64, zeros_like
from numpy.linalg import multi_dot
Expand Down

0 comments on commit 87b62d3

Please sign in to comment.