A converse result for approximation by a weighted Szász-Mirakyan operator