python 3 at least imports the damask module now
This commit is contained in:
parent
755501da69
commit
fa13aa30b0
|
@ -15,6 +15,7 @@ class Color():
|
|||
__slots__ = [
|
||||
'model',
|
||||
'color',
|
||||
'__dict__',
|
||||
]
|
||||
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ class Abaqus(Solver):
|
|||
import subprocess
|
||||
process = subprocess.Popen(['abaqus', 'information=release'],stdout = subprocess.PIPE,stderr = subprocess.PIPE)
|
||||
self.version = process.stdout.readlines()[1].split()[1]
|
||||
print self.version
|
||||
print(self.version)
|
||||
else:
|
||||
self.version = version
|
||||
|
||||
|
|
|
@ -415,7 +415,7 @@ def leastsqBound(func, x0, args=(), bounds=None, Dfun=None, full_output=0,
|
|||
try:
|
||||
cov_x = inv(np.dot(np.transpose(R), R))
|
||||
except LinAlgError as inverror:
|
||||
print inverror
|
||||
print(inverror)
|
||||
pass
|
||||
return (x, cov_x) + retval[1:-1] + (mesg, info)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue