Abstract In this paper we consider a numerical scheme for the treatment of an integro-differential equation. The latter represents formulation nonlocal diffusion type discretization procedure relies on application line method. However, quadrature formulae are needed evaluation integral operator. They based generalized Bernstein polynomials. Numerical evidence shows that proposed method is suita...