Skip to content

Commit

Permalink
Update include/sparrow/utils/large_int.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Alexis Placet <alexis.placet@gmail.com>
  • Loading branch information
DerThorsten and Alex-PLACET authored Dec 16, 2024
1 parent 6fa441a commit 658938d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/sparrow/utils/large_int.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ namespace sparrow
}

if (str.empty())
{
str = "0";
}

stream << std::string(str.rbegin(), str.rend());

Expand Down

0 comments on commit 658938d

Please sign in to comment.