This code snippet
for i,j in np.ndindex(Sigma.shape):
if i<N+1 and j<N+1:
Sigma[i,j]=min(itt(i),itt(j))
elif i>=N+1 and j>=N+1:
if i==j:
Sigma[i,j]=itt(i)**(2*H)
else:
max_time=max(itt(i),itt(j))
min_time=min(itt(i),itt(j))
if min_time != 0:
Sigma[i,j]=min_time**(2*H)*G(max_time/min_time)
elif i<N+1 and j>=N+1:
Sigma[i,j]=rho*D_H*(itt(j)**(H+1/2)-(itt(j)-min(itt(i),itt(j))**(H+1/2))
elif i>=N+1 and j<N+1:
Sigma[i,j]=rho*D_H*(itt(i)**(H+1/2)-(itt(i)-min(itt(i),itt(j))**(H+1/2))
raises
elif i>=N+1 and j<N+1:
^
SyntaxError: invalid syntax
Earlier this afternoon, I ran into some problems with mixed spaces/tabs which I think I have resolved by now after using Detab/Entab in Textwrangler, at least no indentation errors are raised anymore. I do have the suspicion thought that there is a connection to my problem on the top.