Reviewers/editors would be unlikely to reject a paper for something like that. If they catch it, they'll mention it in their review. Very few papers are accepted outright. If they're interested in your paper, they will ask you to respond to the reviews and submit a revised paper. At that point in time you can fix it.
nerfcarolina t1_j85wwg9 wrote
Reply to comment by Meddhouib10 in [R] I made a mistake in a recent submission, what to do ? by [deleted]
Reviewers/editors would be unlikely to reject a paper for something like that. If they catch it, they'll mention it in their review. Very few papers are accepted outright. If they're interested in your paper, they will ask you to respond to the reviews and submit a revised paper. At that point in time you can fix it.