Merge authors:
  Tomaž Zorec (tzfifthguy1)
------------------------------------------------------------
revno: 4169 [merge]
committer: Anton Gladky <[email protected]>
timestamp: Fri 2014-09-19 08:23:49 +0200
message:
  Merge pull request #44 from fifthguy/master
  
  Fixed a bug that appeared when running the uniaxial-post.py script from ...
modified:
  py/post2d.py


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to 
https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'py/post2d.py'
--- py/post2d.py	2013-03-08 21:26:47 +0000
+++ py/post2d.py	2014-09-15 15:11:41 +0000
@@ -180,7 +180,12 @@
 	
 	Scalar fields contain 'val' (value from *extractor*), vector fields have 'valX' and 'valY' (2 components returned by the *extractor*).
 	"""
-	from miniEigen import Vector3
+	
+	try:
+		from miniEigen import Vector3
+	except ImportError:
+		from minieigen import Vector3
+		
 	xx,yy,dd1,dd2,rr=[],[],[],[],[]
 	nDim=0
 	objects=O.interactions if intr else O.bodies

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to