fixed bug in hill criterion
This commit is contained in:
parent
1402527f48
commit
c8f16f16fa
|
@ -30,8 +30,8 @@ def asFullTensor(voigt):
|
|||
|
||||
|
||||
def Hill48(x, F,G,H,L,M,N):
|
||||
a = F*(x[1]-x[2])**2 + G*(x[2]-x[0])**2 + H*(x[0]-x[1])** + \
|
||||
2*L*x[4]**2 + 2*M*x[5]**2 + 2*N*x[3]**2 -1.
|
||||
a = F*(x[1]-x[2])**2.0 + G*(x[2]-x[0])**2.0 + H*(x[0]-x[1])**2.0 + \
|
||||
2.0*L*x[4]**2.0 + 2.0*M*x[5]**2.0 + 2.0*N*x[3]**2.0 -1.0
|
||||
return a.ravel()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue