I want both figures side by side in one column of a two-column LaTeX document, but the result is both the figures are one below another.
\begin{figure}[H]
\begin{subfigure}[b]{0.4\textwidth}
\includegraphics[width=\textwidth]{cure.png}
\caption{Picture 1}
\label{fig:1}
\end{subfigure}
\hfill %%
\begin{subfigure}[b]{0.4\textwidth}
\includegraphics[width=\textwidth]{cluto.png}
\caption{Picture 2}
\label{fig:2}
\end{subfigure}
\end{figure}