Diff of /core/vpgl/vpgl_poly_radial_distortion.h [7ee345] .. [69607b]  Maximize  Restore

Switch to side-by-side view

--- a/core/vpgl/vpgl_poly_radial_distortion.h
+++ b/core/vpgl/vpgl_poly_radial_distortion.h
@@ -65,6 +65,7 @@
 
   void set_coefficients(const T* k)
   {
+    if ( k == NULL ) return;
     const T* kptr = k;
     T* coptr = coefficients_;
     for (unsigned int i=0; i<n; ++i, ++kptr, ++coptr)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks