# \caption* does not work properly [closed]

I have a problem with using the command \caption* (from the caption package) together with the algorithm environment. Instead of parsing the \caption* as a single command, it is parsed like \caption with parameter "*". Any ideas?

\documentclass{article}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{caption}
\begin{document}
\begin{algorithm}[H]
\caption*{This should be an unnumbered caption.}
\begin{algorithmic}
\State $0 \gets 0$
\end{algorithmic}
\end{algorithm}
\end{document}

-
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. –  egreg Sep 16 '12 at 12:43
Sorry, I have edited the question. –  042 Sep 16 '12 at 13:03
Your example code works as expected on my system. Perhaps you are using an outdated LaTeX system? What LaTeX distribution do you use? –  Gonzalo Medina Sep 16 '12 at 13:32
@GonzaloMedina In deed, the problem has been solved by updating the caption package. If you post this as an answer, I may accept it. –  042 Sep 16 '12 at 13:57
@042 I am glad to hear that the problem has been solved. If the problem was simply outdated package(s), we usually close the question as "too localized", so there's no need to write an answer an accept it. –  Gonzalo Medina Sep 16 '12 at 14:07