"src/vscode:/vscode.git/clone" did not exist on "ff009f504b2fe9e6961762e67c1b717431d81da1"
Commit 91f89fcc authored by charlie's avatar charlie
Browse files

Remove shape.empty() function, wasn't used

parent 48c7c810
......@@ -214,9 +214,6 @@ struct shape
/// Return true if the shape is dynamic
bool dynamic() const;
/// Returns true if the shape is empty
bool empty() const;
shape normalize_standard() const;
shape with_lens(type_t t, const std::vector<std::size_t>& l) const;
......
......@@ -443,8 +443,6 @@ std::string shape::type_string() const { return name(this->type()); }
bool shape::dynamic() const { return not impl->m_dyn_dims.empty(); }
bool shape::empty() const { return max_lens().empty(); }
const std::vector<shape::dynamic_dimension>& shape::dyn_dims() const { return impl->m_dyn_dims; }
std::vector<std::size_t> shape::min_lens() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment