  In a recent work [C. Chevalier, B. M. Wong, Comput. Phys. Commun. ${\bf
274}$, 108299 (2022); arXiv: 2203.05233 [cond-mat.mes-hall]] the interesting
and popular problem was considered. Authors attempted to solve the
self-consistent Schr\"{o}dinger-Poisson problem for an effective mass electron
in a core-shell semiconductor nanowire. The corresponding MATLAB-based software
package was presented. However, an incorrect solution of the Schr\"{o}dinger
equation invalidates the whole result. Here we point out the corresponding
error and possible ways to fix it.
