Andrei tomut commited on
Commit
0c340e3
1 Parent(s): fc322db
Files changed (1) hide show
  1. backend/latmathcher/latmatcher.py +1 -1
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;