_version.py
Go to the documentation of this file.
1 from __future__ import annotations
2 
3 
4 def _to_int(s: str) -> int | str:
5  try:
6  return int(s)
7  except ValueError:
8  return s
9 
10 
11 __version__ = "2.13.1"
12 version_info = tuple(_to_int(s) for s in __version__.split("."))
gtsam.examples.DogLegOptimizerExample.int
int
Definition: DogLegOptimizerExample.py:111
pybind11._version._to_int
int|str _to_int(str s)
Definition: _version.py:4
tuple
Definition: pytypes.h:2077


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:01:47