[Liblas-commits] hg: oops, and instead of or

liblas-commits at liblas.org liblas-commits at liblas.org
Sat Oct 9 23:38:04 EDT 2010


changeset b0dc48696c07 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=b0dc48696c07
summary: oops, and instead of or

diffstat:

 src/laspoint.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 1b4e0a36cdd8 -r b0dc48696c07 src/laspoint.cpp
--- a/src/laspoint.cpp	Sat Oct 09 22:36:54 2010 -0500
+++ b/src/laspoint.cpp	Sat Oct 09 22:37:59 2010 -0500
@@ -200,7 +200,7 @@
     // any data set and nothing to worry about.
     boost::uint32_t sum = std::accumulate(m_data.begin(), m_data.end(), 0);
 
-    if (length != m_data.size() || sum != 0)
+    if (length != m_data.size() && sum != 0)
     {
         // Manually copy everything but the header ptr
         // We can't just copy the raw data because its 


More information about the Liblas-commits mailing list