I run Arch Linux with texlive version 2019.52579-1. When I compile the LaTeX (Beamer) code below the table caption is "Figure: A simple table." That is, it includes "Figure:" instead of "Table:". The problem does not occur when the subfig package is not used or when the deprecated subfigure package is used instead. Suggestions are welcome. Thank you.





\begin{frame}{A simple frame}

\caption{A simple table.}
a & b \\
c & d \\