Author: bugman Date: Mon Jul 15 11:57:31 2013 New Revision: 20298 URL: http://svn.gna.org/viewcvs/relax?rev=20298&view=rev Log: Basic fix for the lib.linear_algebra.matrix_power.square_matrix_power() function. Modified: branches/relax_disp/lib/linear_algebra/matrix_power.py Modified: branches/relax_disp/lib/linear_algebra/matrix_power.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/lib/linear_algebra/matrix_power.py?rev=20298&r1=20297&r2=20298&view=diff ============================================================================== --- branches/relax_disp/lib/linear_algebra/matrix_power.py (original) +++ branches/relax_disp/lib/linear_algebra/matrix_power.py Mon Jul 15 11:57:31 2013 @@ -42,7 +42,7 @@ """ # Sanity check. - s = x.shape() + s = x.shape if len(s) != 2 or s[0] != s[1]: raise RelaxError("The matrix '%s' must be square." % x)