songofroland
Results
comments of
songofroland
I had the same issue. [Documentation suggests](https://tsplib95.readthedocs.io/en/stable/pages/modules.html#tsplib95.models.StandardProblem.get_weight) that this function returns float however [this](https://github.com/rhgrant10/tsplib95/blob/master/tsplib95/distances.py#L37) line rounds it up to an int. ``` def euclidean(start, end, round=utils.nint): """Return the Euclidean distance...
Setting ```map_location=self.config.device``` seems to resolve the issue. Thanks for the quick fix!