@@ -108,9 +108,9 @@ def lyap(A, Q, C=None, E=None, method=None):
108108 method = _slycot_or_scipy (method )
109109 if method == 'slycot' :
110110 if sb03md is None :
111- raise ControlSlycot ("Can't find Slycot module 'sb03md'" )
111+ raise ControlSlycot ("Can't find slycot module 'sb03md'" )
112112 if sb04md is None :
113- raise ControlSlycot ("Can't find Slycot module 'sb04md'" )
113+ raise ControlSlycot ("Can't find slycot module 'sb04md'" )
114114
115115 # Reshape input arrays
116116 A = np .array (A , ndmin = 2 )
@@ -170,7 +170,7 @@ def lyap(A, Q, C=None, E=None, method=None):
170170 from slycot import sg03ad
171171
172172 except ImportError :
173- raise ControlSlycot ("Can't find Slycot module 'sg03ad'" )
173+ raise ControlSlycot ("Can't find slycot module 'sg03ad'" )
174174
175175 # Solve the generalized Lyapunov equation by calling Slycot
176176 # function sg03ad
@@ -236,11 +236,11 @@ def dlyap(A, Q, C=None, E=None, method=None):
236236 if method == 'slycot' :
237237 # Make sure we have access to the right slycot routines
238238 if sb03md is None :
239- raise ControlSlycot ("Can't find Slycot module 'sb03md'" )
239+ raise ControlSlycot ("Can't find slycot module 'sb03md'" )
240240 if sb04qd is None :
241- raise ControlSlycot ("Can't find Slycot module 'sb04qd'" )
241+ raise ControlSlycot ("Can't find slycot module 'sb04qd'" )
242242 if sg03ad is None :
243- raise ControlSlycot ("Can't find Slycot module 'sg03ad'" )
243+ raise ControlSlycot ("Can't find slycot module 'sg03ad'" )
244244
245245 # Reshape input arrays
246246 A = np .array (A , ndmin = 2 )
@@ -403,12 +403,12 @@ def care(A, B, Q, R=None, S=None, E=None, stabilizing=True, method=None,
403403 try :
404404 from slycot import sb02md
405405 except ImportError :
406- raise ControlSlycot ("Can't find Slycot module 'sb02md'" )
406+ raise ControlSlycot ("Can't find slycot module 'sb02md'" )
407407
408408 try :
409409 from slycot import sb02mt
410410 except ImportError :
411- raise ControlSlycot ("Can't find Slycot module 'sb02mt'" )
411+ raise ControlSlycot ("Can't find slycot module 'sb02mt'" )
412412
413413 # Solve the standard algebraic Riccati equation by calling Slycot
414414 # functions sb02mt and sb02md
@@ -449,7 +449,7 @@ def care(A, B, Q, R=None, S=None, E=None, stabilizing=True, method=None,
449449 try :
450450 from slycot import sg02ad
451451 except ImportError :
452- raise ControlSlycot ("Can't find Slycot module ' sg02ad' " )
452+ raise ControlSlycot ("Can't find slycot module sg02ad" )
453453
454454 # Solve the generalized algebraic Riccati equation by calling the
455455 # Slycot function sg02ad
@@ -568,7 +568,7 @@ def dare(A, B, Q, R, S=None, E=None, stabilizing=True, method=None,
568568 try :
569569 from slycot import sg02ad
570570 except ImportError :
571- raise ControlSlycot ("Can't find Slycot module ' sg02ad' " )
571+ raise ControlSlycot ("Can't find slycot module sg02ad" )
572572
573573 # Initialize optional matrices
574574 S = np .zeros ((n , m )) if S is None else np .array (S , ndmin = 2 )
0 commit comments