Spaces:
Runtime error
Runtime error
Andrei tomut
commited on
Commit
•
0c340e3
1
Parent(s):
fc322db
lm
Browse files
backend/latmathcher/latmatcher.py
CHANGED
@@ -31,7 +31,7 @@ class LatMatch:
|
|
31 |
self.smax = s0, s1
|
32 |
except:
|
33 |
try:
|
34 |
-
self.smax = [float(s)]
|
35 |
except:
|
36 |
print("The max strain value:", s, "is not valid")
|
37 |
return None;
|
|
|
31 |
self.smax = s0, s1
|
32 |
except:
|
33 |
try:
|
34 |
+
self.smax = [float(s),float(s)]
|
35 |
except:
|
36 |
print("The max strain value:", s, "is not valid")
|
37 |
return None;
|