Skip to content

Commit 54dbb61

Browse files
committed
removed test sampling resolution to avoid github action memory limits
1 parent da42256 commit 54dbb61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_gm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def test_split_for_fov():
451451
# check that the integral of pdf outside fov matches split
452452
p_lb = np.min(p.comp_bounds(sigma_mult=3)[0],axis=0)[:3]
453453
p_ub = np.max(p.comp_bounds(sigma_mult=3)[1],axis=0)[:3]
454-
XX,YY,ZZ = np.meshgrid(*[np.linspace(lb,ub,400) for lb,ub in zip(p_lb,p_ub)], indexing='ij')
454+
XX,YY,ZZ = np.meshgrid(*[np.linspace(lb,ub,200) for lb,ub in zip(p_lb,p_ub)], indexing='ij')
455455
pp = p.marginal_nd((0,1,2))(np.vstack((XX.flatten(), YY.flatten(), ZZ.flatten())).T).reshape(XX.shape)
456456

457457
box_area = np.prod(p_ub - p_lb)

0 commit comments

Comments
 (0)