# Error: Extra }, or forgotten \right in align environment

I'm getting errors in the align environment that I'm not getting for the exact same line that compiles without error in the equation one and I can't figure it out. Can someone shed some light on this? Here's the code:

\begin{align*}
t\left(2^{\left(m+1\right)} \right) &= t\left(\frac{2^{\left(m+1\right)}}
{2}\right)+3\log 2^{\left(m+1\right)}\\
&= t\left(2^m\right)+3\left(m+1\right)\\ &=t'\left(2^m)+3(m+1)\\
&=\frac{3\left(\log_2 n\right)\left(\log_2 n+1\right)}  {2}
\end{align*}


the error is showing up for the last line:

! Extra }, or forgotten \right.
! Missing \right. inserted.

-
See #10 in Documents with typical LaTeX errors. –  Werner Oct 27 '12 at 23:54

You have a missing \right in

&=t'\left(2^m)+3(m+1)\\


Corrected code:

\documentclass{article}
\usepackage{amsmath}

\begin{document}

\begin{align*}
t\left(2^{\left(m+1\right)} \right)
&= t\left(\frac{2^{\left(m+1\right)}}
{2}\right)+3\log 2^{\left(m+1\right)}\\
&= t\left(2^m\right)+3\left(m+1\right)\\
&=t'\left(2^m\right)+3(m+1)\\
&=\frac{3\left(\log_2 n\right)\left(\log_2 n+1\right)}  {2}
\end{align*}

\end{document}


-
You were faster than me!! lol –  Sigur Oct 27 '12 at 23:30