mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-30 19:44:32 +00:00 
			
		
		
		
	Need to validate range about which exp^iQ is considered unity
This commit is contained in:
		| @@ -142,7 +142,8 @@ public: | |||||||
|     iQ2 = iQ * iQ; |     iQ2 = iQ * iQ; | ||||||
|     iQ3 = iQ * iQ2; |     iQ3 = iQ * iQ2; | ||||||
|  |  | ||||||
|     if(abs(real(trace(iQ2))) < 0.000000001) // Felix, please check this |     Real tr = real(trace(iQ2)); | ||||||
|  |     if(tr > -0.0000001 && tr < 0.00000001 ) // Felix, please check this | ||||||
|       e_iQ = unity; |       e_iQ = unity; | ||||||
|     else { |     else { | ||||||
|       //We should check sgn(c0) here already and then apply eq (34) from 0311018 |       //We should check sgn(c0) here already and then apply eq (34) from 0311018 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user