Hello community,

here is the log from the commit of package armadillo for openSUSE:Factory 
checked in at 2016-09-30 15:33:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/armadillo (Old)
 and      /work/SRC/openSUSE:Factory/.armadillo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "armadillo"

Changes:
--------
--- /work/SRC/openSUSE:Factory/armadillo/armadillo.changes      2016-08-31 
14:31:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.armadillo.new/armadillo.changes 2016-09-30 
15:33:52.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Sep 28 11:44:58 UTC 2016 - [email protected]
+
+- Update to version 7.400.3:
+  + Undocumented bug fixes.
+
+-------------------------------------------------------------------

Old:
----
  armadillo-7.400.2.tar.xz

New:
----
  armadillo-7.400.3.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ armadillo.spec ++++++
--- /var/tmp/diff_new_pack.mPvQbT/_old  2016-09-30 15:33:54.000000000 +0200
+++ /var/tmp/diff_new_pack.mPvQbT/_new  2016-09-30 15:33:54.000000000 +0200
@@ -19,7 +19,7 @@
 %define soname libarmadillo7
 
 Name:           armadillo
-Version:        7.400.2
+Version:        7.400.3
 Release:        0
 Summary:        Fast C++ matrix library with interfaces to LAPACK and ATLAS
 License:        MPL-2.0

++++++ armadillo-7.400.2.tar.xz -> armadillo-7.400.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/armadillo-7.400.2/docs.html 
new/armadillo-7.400.3/docs.html
--- old/armadillo-7.400.2/docs.html     2016-06-16 18:16:03.000000000 +0200
+++ new/armadillo-7.400.3/docs.html     2016-06-16 18:16:04.000000000 +0200
@@ -185,21 +185,23 @@
 <td style="text-align: left; vertical-align: top; width: 45%;">
 <ul>
 <li>
-Please cite the following tech report if you use Armadillo in your research 
and/or software.
+Please cite the following article if you use Armadillo in your research and/or 
software.
 Citations are useful for the continued development and maintenance of the 
library.
 <br>
 <br>
 <font size=-1>
 Conrad Sanderson and Ryan Curtin.
-<i><a href="armadillo_joss_2016.pdf">Armadillo: a template-based C++ library 
for linear algebra</a></i>.
-Journal of Open Source Software, Vol.&nbsp;1, pp.&nbsp;26, 2016.
+<br><i><a href="armadillo_joss_2016.pdf">Armadillo: a template-based C++ 
library for linear algebra</a></i>.
+<br>Journal of Open Source Software, Vol.&nbsp;1, pp.&nbsp;26, 2016.
 </font>
 </li>
+<!--
 <br>
 <li>
 If you use Armadillo in products,
 please obtain the <a 
href="http://arma.sourceforge.net/faq.html#licenses";>commercial license</a>
 </li>
+-->
 </ul>
 </td>
 </tr>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/armadillo-7.400.2/include/armadillo_bits/arma_version.hpp 
new/armadillo-7.400.3/include/armadillo_bits/arma_version.hpp
--- old/armadillo-7.400.2/include/armadillo_bits/arma_version.hpp       
2016-06-16 18:16:03.000000000 +0200
+++ new/armadillo-7.400.3/include/armadillo_bits/arma_version.hpp       
2016-06-16 18:16:04.000000000 +0200
@@ -15,7 +15,7 @@
 
 #define ARMA_VERSION_MAJOR 7
 #define ARMA_VERSION_MINOR 400
-#define ARMA_VERSION_PATCH 2
+#define ARMA_VERSION_PATCH 3
 #define ARMA_VERSION_NAME  "Feral Winter Deluxe"
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/armadillo-7.400.2/include/armadillo_bits/diskio_meat.hpp 
new/armadillo-7.400.3/include/armadillo_bits/diskio_meat.hpp
--- old/armadillo-7.400.2/include/armadillo_bits/diskio_meat.hpp        
2016-06-16 18:16:03.000000000 +0200
+++ new/armadillo-7.400.3/include/armadillo_bits/diskio_meat.hpp        
2016-06-16 18:16:04.000000000 +0200
@@ -652,22 +652,17 @@
 bool
 diskio::safe_rename(const std::string& old_name, const std::string& new_name)
   {
-  std::fstream f(new_name.c_str(), std::fstream::out | std::fstream::app);
+  const char* new_name_c_str = new_name.c_str();
+  
+  std::fstream f(new_name_c_str, std::fstream::out | std::fstream::app);
   f.put(' ');
   
-  bool save_okay = f.good();
-  f.close();
+  if(f.good()) { f.close(); } else { return false; }
   
-  if(save_okay == true)
-    {
-    std::remove(new_name.c_str());
-    
-    const int mv_result = std::rename(old_name.c_str(), new_name.c_str());
-    
-    save_okay = (mv_result == 0);
-    }
+  if(std::remove(                  new_name_c_str) != 0)  { return false; }
+  if(std::rename(old_name.c_str(), new_name_c_str) != 0)  { return false; }
   
-  return save_okay;
+  return true;
   }
 
 
@@ -1894,7 +1889,7 @@
     f >> f_maxval;
     f.get();
     
-    if( (f_maxval > 0) || (f_maxval <= 65535) )
+    if( (f_maxval > 0) && (f_maxval <= 65535) )
       {
       x.set_size(f_n_rows,f_n_cols);
       
@@ -1945,7 +1940,7 @@
     else
       {
       load_okay = false;
-      err_msg = "currently no code available to handle loading ";
+      err_msg = "functionality unimplemented to handle loading ";
       }
     
     if(f.good() == false)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/armadillo-7.400.2/mex_interface/armaMex.hpp 
new/armadillo-7.400.3/mex_interface/armaMex.hpp
--- old/armadillo-7.400.2/mex_interface/armaMex.hpp     2016-06-16 
18:16:03.000000000 +0200
+++ new/armadillo-7.400.3/mex_interface/armaMex.hpp     2016-06-16 
18:16:04.000000000 +0200
@@ -362,8 +362,8 @@
     return Cube<double>();
     }
   }  
-  
-  
+
+
 // Get complex cube from Matlab/Octave
 inline
 cx_cube
@@ -389,7 +389,8 @@
     return cx_cube();
     }
   }  
-  
+
+
 // return real valued cube to Matlab/Octave
 template<class Type>
 inline
@@ -402,7 +403,7 @@
   std::memcpy(dst_pointer, src_pointer, sizeof(Type)*armaCube.n_elem); 
   }
 
-  
+
 // Return double real valued cube to Matlab/Octave
 inline
 void
@@ -414,7 +415,7 @@
   std::memcpy(dst_pointer, src_pointer, sizeof(double)*armaCube.n_elem); 
   }
 
-  
+
 // Return imaginary valued cube to Matlab/Octave.
 template<class Type>
 inline
@@ -427,7 +428,7 @@
   std::memcpy(dst_pointer, src_pointer, sizeof(Type)*armaCube.n_elem);
   }
 
-  
+
 // Return double imaginary valued matrix to Matlab/Octave
 inline
 void
@@ -439,7 +440,9 @@
   std::memcpy(dst_pointer, src_pointer, sizeof(double)*armaCube.n_elem); 
   }
 
+
 // Return double complex cube to Matlab/Octave.
+inline
 void
 armaSetCubeCx(mxArray *matlabMatrix, const cx_cube& armaCube)
   {
@@ -571,8 +574,8 @@
     return SpMat<double>(locations, values, m, n, sort_locations);
     }
   }
-  
-  
+
+
 // Get imaginary sparse matrix from Matlab/Octave.
 template<class Type>
 inline
@@ -691,8 +694,8 @@
     return SpMat<double>(locations, values, m, n, sort_locations);
     }
   }  
-  
-  
+
+
 // Return sparse matrix to matlab
 inline
 void
@@ -925,7 +928,7 @@
   MATFile *file;
   file = matOpen(filename,"r");
   
-  char buffer[64];
+  char buffer[1024];
   const char *name;
   name = buffer;
   
@@ -951,7 +954,7 @@
   MATFile *file;
   file = matOpen(filename,"r");
   
-  char buffer[64];
+  char buffer[1024];
   const char *name;
   name = buffer;
   
@@ -977,7 +980,7 @@
   MATFile *file;
   file = matOpen(filename,"r");
   
-  char buffer[64];
+  char buffer[1024];
   const char *name;
   name = buffer;
   
@@ -1003,7 +1006,7 @@
   MATFile *file;
   file = matOpen(filename,"r");
   
-  char buffer[64];
+  char buffer[1024];
   const char *name;
   name = buffer;
   


Reply via email to