Skip to content

Commit

Permalink
grrr (more string ambiguousness)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmrichard committed Jan 6, 2025
1 parent e480711 commit b1f7aea
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions include/tensorwrapper/shape/smooth.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,10 @@ class Smooth : public ShapeBase {

/// Implements to_string
typename polymorphic_base_type::string_type to_string_() const override {
string_type buffer("{");
for(auto x : m_extents_) buffer += string_type(" ") + std::to_string(x);
buffer += string_type("}");
using str_type = typename polymorphic_base_type::string_type;
str_type buffer("{");
for(auto x : m_extents_) buffer += str_type(" ") + std::to_string(x);
buffer += str_type("}");
return buffer;
}

Expand Down

0 comments on commit b1f7aea

Please sign in to comment.