Skip to content

Commit b33fe06

Browse files
committed
typos
1 parent 1bdb8de commit b33fe06

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cmdstanpy/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def cmdstan_version_at(major: int, minor: int) -> bool:
200200
try:
201201
makefile = os.path.join(cmdstan_path(), 'makefile')
202202
except ValueError:
203-
get_logger.warning(
203+
get_logger().warning(
204204
'No CmdStan installation found, '
205205
'cannot check that Cmdstan version is at or above %d.%d.',
206206
major,
@@ -209,7 +209,7 @@ def cmdstan_version_at(major: int, minor: int) -> bool:
209209
return False
210210

211211
if not os.path.exists(makefile):
212-
get_logger.warning(
212+
get_logger().warning(
213213
'CmdStan installation %s missing makefile, '
214214
'cannot check that Cmdstan version is at or above %d.%d.',
215215
cmdstan_path(),
@@ -223,7 +223,7 @@ def cmdstan_version_at(major: int, minor: int) -> bool:
223223

224224
start_idx = contents.find('CMDSTAN_VERSION := ')
225225
if start_idx < 0:
226-
get_logger.warmning(
226+
get_logger().warning(
227227
'Cannot parse version from makefile: %s,'
228228
'cannot check that Cmdstan version is at or above %d.%d.',
229229
makefile,
@@ -237,7 +237,7 @@ def cmdstan_version_at(major: int, minor: int) -> bool:
237237

238238
version = contents[start_idx:end_idx]
239239
if version is None or len(version) < 3 or len(version.split('.')) < 2:
240-
get_logger.warmning(
240+
get_logger().warning(
241241
'Cannot parse version from makefile: %s,'
242242
'cannot check that Cmdstan version is at or above %d.%d.',
243243
makefile,

0 commit comments

Comments
 (0)