diff options
Diffstat (limited to 'dgl/src/Geometry.cpp')
-rw-r--r-- | dgl/src/Geometry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dgl/src/Geometry.cpp b/dgl/src/Geometry.cpp index 7ee3e8fc..d133985f 100644 --- a/dgl/src/Geometry.cpp +++ b/dgl/src/Geometry.cpp @@ -237,7 +237,7 @@ bool Size<T>::isNotNull() const noexcept template<typename T> bool Size<T>::isValid() const noexcept { - return fWidth > 1 && fHeight > 1; + return fWidth > 0 && fHeight > 0; } template<typename T> |