changeset 4775:0016d83545f5

of-lssa: update to v0.1.3 * src/of-lssa.mk: update version, checksum, subdir * src/of-lssa-1-fixes.patch: remove file * build_packages.m: update lssa version
author John Donoghue
date Fri, 27 Jul 2018 08:24:28 -0400
parents 1a72a54ee8c4
children 77ec814a91a6
files build_packages.m src/of-lssa-1-fixes.patch src/of-lssa.mk
diffstat 3 files changed, 4 insertions(+), 96 deletions(-) [+]
line wrap: on
line diff
--- a/build_packages.m	Mon Jul 23 14:10:57 2018 -0400
+++ b/build_packages.m	Fri Jul 27 08:24:28 2018 -0400
@@ -58,7 +58,7 @@
   try_install stk-2.5.1.tar.gz
   try_install splines-1.3.2.tar.gz
   try_install dataframe-1.2.0.tar.gz
-  try_install lssa-0.1.2.tar.gz
+  try_install lssa-0.1.3.tar.gz
   try_install queueing-1.2.5.tar.gz
   try_install nurbs-1.3.13.tar.gz
   try_install strings-1.2.0.tar.gz
--- a/src/of-lssa-1-fixes.patch	Mon Jul 23 14:10:57 2018 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +0,0 @@
-# HG changeset patch
-# User John Donoghue
-# Date 1467900324 14400
-#      Thu Jul 07 10:05:24 2016 -0400
-# Node ID 59af0bcd5cafce29162db3dfc42dcf326f56d8be
-# Parent  3727b85ea021033ee96fb0b017eefb73fb2f7c35
-Use complex real/imag set method to assign values (Bug #48424)
-
-* src/fastlscomplex.cc
-  (flscomplex): Use record_current, record_next real/imag set method to assign +/- values
-
-diff --git a/src/fastlscomplex.cc b/src/fastlscomplex.cc
---- a/src/fastlscomplex.cc
-+++ b/src/fastlscomplex.cc
-@@ -372,8 +372,10 @@ bool flscomplex (const RowVector & tvec,
- 
-                             --tpra;
-                             h = *tpra * *exp_ptr;
--                            record_current->power_series[p].real() -= h.imag();
--                            record_current->power_series[p].imag() += h.real();
-+                            record_current->power_series[p].real ( 
-+                              record_current->power_series[p].real() - h.imag());
-+                            record_current->power_series[p].imag (
-+                              record_current->power_series[p].imag() + h.real());
- 
-                             if (++exp_ptr >= exp_pse_ptr )
-                               break;
-@@ -386,8 +388,10 @@ bool flscomplex (const RowVector & tvec,
- 
-                             --tpra;
-                             h = -*tpra * *exp_ptr;
--                            record_current->power_series[p].real() -= h.imag();
--                            record_current->power_series[p].imag() += h.real();
-+                            record_current->power_series[p].real ( 
-+                              record_current->power_series[p].real() - h.imag());
-+                            record_current->power_series[p].imag (
-+                              record_current->power_series[p].imag() + h.real());
- 
-                             if (++exp_ptr >= exp_pse_ptr)
-                               break;
-@@ -422,8 +426,10 @@ bool flscomplex (const RowVector & tvec,
- 
-                                   tprb -= 2;
-                                   h = *tprb * *exp_ptr;
--                                  record_current->power_series[p].real() -= h.imag();
--                                  record_current->power_series[p].imag() += h.real();
-+                                  record_current->power_series[p].real ( 
-+                                    record_current->power_series[p].real() - h.imag());
-+                                  record_current->power_series[p].imag (
-+                                    record_current->power_series[p].imag() + h.real());
- 
-                                   if ( ++exp_ptr >= exp_pse_ptr )
-                                     break;
-@@ -436,8 +442,10 @@ bool flscomplex (const RowVector & tvec,
- 
-                                   tprb -= 2;
-                                   h = - *tprb * *exp_ptr;
--                                  record_current->power_series[p].real() -= h.imag();
--                                  record_current->power_series[p].imag() += h.real();
-+                                  record_current->power_series[p].real ( 
-+                                    record_current->power_series[p].real() - h.imag());
-+                                  record_current->power_series[p].imag (
-+                                    record_current->power_series[p].imag() + h.real());
- 
-                                   if (++exp_ptr >= exp_pse_ptr)
-                                     break;
-@@ -467,8 +475,10 @@ bool flscomplex (const RowVector & tvec,
- 
-                                   --tpra;
-                                   h = *tpra * *exp_ptr;
--                                  record_next->power_series[q].real() -= h.imag();
--                                  record_next->power_series[q].imag() += h.real();
-+                                  record_next->power_series[q].real ( 
-+                                    record_next->power_series[q].real() - h.imag());
-+                                  record_next->power_series[q].imag (
-+                                    record_next->power_series[q].imag() + h.real());
- 
-                                   if (++exp_ptr >= exp_pse_ptr)
-                                     break;
-@@ -481,8 +491,10 @@ bool flscomplex (const RowVector & tvec,
- 
-                                   --tpra;
-                                   h = -*tpra * *exp_ptr;
--                                  record_next->power_series[q].real() -= h.imag();
--                                  record_next->power_series[q].imag() += h.real();
-+                                  record_next->power_series[q].real ( 
-+                                    record_next->power_series[q].real() - h.imag());
-+                                  record_next->power_series[q].imag (
-+                                    record_next->power_series[q].imag() + h.real());
- 
-                                   if (++exp_ptr >= exp_pse_ptr)
-                                     break;
--- a/src/of-lssa.mk	Mon Jul 23 14:10:57 2018 -0400
+++ b/src/of-lssa.mk	Fri Jul 27 08:24:28 2018 -0400
@@ -3,10 +3,10 @@
 
 PKG             := of-lssa
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 0.1.2
-$(PKG)_CHECKSUM := ea22c20223a04bd8e6e2c1b09342f5c153111b9b
+$(PKG)_VERSION  := 0.1.3
+$(PKG)_CHECKSUM := 3ad6f43d0dcdd4c38c33653f1f384056b942d1fe
 $(PKG)_REMOTE_SUBDIR := 
-$(PKG)_SUBDIR   := lssa
+$(PKG)_SUBDIR   := lssa-$($(PKG)_VERSION)
 $(PKG)_FILE     := lssa-$($(PKG)_VERSION).tar.gz
 $(PKG)_URL      := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
 $(PKG)_DEPS     :=