I would like the equation numbers to run through chapters and reset at a new part. I have tried this but it doesn't seem to work. I have tried the following shown below however it still resets with the chapter.
\documentclass{report}
\usepackage{chngcntr}
\renewcommand{\theequation}{\Roman{part}~--~\arabic{equation}}
\counterwithin*{equation}{part}
\begin{document}
\part{one}
\chapter{one one}
\begin{equation}
1+1=2
\end{equation}
\chapter{two two}
\begin{equation}
1+1=2
\end{equation}
\part{two}
\chapter{one one}
\begin{equation}
1+1=2
\end{equation}
\chapter{two two}
\begin{equation}
1+1=2
\end{equation}
\end{document}
