[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Toon-members] TooN Cholesky.h util.h
From: |
Edward Rosten |
Subject: |
[Toon-members] TooN Cholesky.h util.h |
Date: |
Fri, 01 Aug 2008 20:37:02 +0000 |
CVSROOT: /cvsroot/toon
Module name: TooN
Changes by: Edward Rosten <edrosten> 08/08/01 20:37:02
Modified files:
. : Cholesky.h util.h
Log message:
Comment out parameters to remove "unused parameter" warnings
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/Cholesky.h?cvsroot=toon&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/TooN/util.h?cvsroot=toon&r1=1.5&r2=1.6
Patches:
Index: Cholesky.h
===================================================================
RCS file: /cvsroot/toon/TooN/Cholesky.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- Cholesky.h 15 Aug 2007 02:04:56 -0000 1.17
+++ Cholesky.h 1 Aug 2008 20:37:01 -0000 1.18
@@ -65,8 +65,8 @@
}
};
template <int N> struct Forwardsub_L<N,N> {
- template <class A1, class A2, class A3> static inline void
eval(const FixedMatrix<N,N,A1>& L, const FixedVector<N,A2>& v,
FixedVector<N,A3>& x) {}
- template <class A1, class A2, class Vec> static inline void
eval(const FixedMatrix<N,N,A1>& L, const DynamicVector<A2>& v, Vec & x) {}
+ template <class A1, class A2, class A3> static inline void
eval(const FixedMatrix<N,N,A1>& /*L*/, const FixedVector<N,A2>& /*v*/,
FixedVector<N,A3>& /*x*/) {}
+ template <class A1, class A2, class Vec> static inline void
eval(const FixedMatrix<N,N,A1>& /*L*/, const DynamicVector<A2>& /*v*/, Vec &
/*x*/) {}
};
//
@@ -87,8 +87,8 @@
}
};
template <int N> struct Backsub_LT<N,0> {
- template <class A1, class A2, class A3, class A4> static inline
void eval(const FixedMatrix<N,N,A1>& L, const FixedVector<N,A2>& v,
-
const FixedVector<N,A3>& invdiag, FixedVector<N,A4>& x) {}
+ template <class A1, class A2, class A3, class A4> static inline
void eval(const FixedMatrix<N,N,A1>& /*L*/, const FixedVector<N,A2>& /*v*/,
+
const FixedVector<N,A3>& /*invdiag*/, FixedVector<N,A4>& /*x*/) {}
};
template <int N, class A1, class A2, class A3, class A4>
@@ -112,7 +112,7 @@
};
template <int N, int I> struct CholeskyInner<N,I,N> {
- template <class A1, class A2, class A3> static inline void
eval(const FixedMatrix<N,N,A1>& M, FixedMatrix<N,N,A2>& L, const
FixedVector<N,A3>& invdiag) {}
+ template <class A1, class A2, class A3> static inline void
eval(const FixedMatrix<N,N,A1>& /*M*/, FixedMatrix<N,N,A2>& /*L*/, const
FixedVector<N,A3>& /*invdiag*/) {}
};
template <int N, int I=0> struct CholeskyOuter {
template <class A1, class A2, class A3> static inline void
eval(const FixedMatrix<N,N,A1>& M, FixedMatrix<N,N,A2>& L, FixedVector<N,A3>&
invdiag, int& rank) {
@@ -130,7 +130,7 @@
}
};
template <int N> struct CholeskyOuter<N,N> {
- template <class A1, class A2, class A3> static inline void
eval(const FixedMatrix<N,N,A1>& M, FixedMatrix<N,N,A2>& L, FixedVector<N,A3>&
invdiag, int& rank) {}
+ template <class A1, class A2, class A3> static inline void
eval(const FixedMatrix<N,N,A1>& /*M*/, FixedMatrix<N,N,A2>& /*L*/,
FixedVector<N,A3>& /*invdiag*/, int& /*rank*/) {}
};
Index: util.h
===================================================================
RCS file: /cvsroot/toon/TooN/util.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- util.h 18 Jan 2007 15:41:59 -0000 1.5
+++ util.h 1 Aug 2008 20:37:02 -0000 1.6
@@ -10,7 +10,7 @@
template <> struct Assert<true> {};
template <int B, int E, bool Valid=(B<=E)> struct Dot {
- template <class V1, class V2> static inline double eval(const V1&
v1, const V2& v2) { return 0; }
+ template <class V1, class V2> static inline double eval(const V1&,
const V2&) { return 0; }
};
template <int B, int E> struct Dot<B,E,true> {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Toon-members] TooN Cholesky.h util.h,
Edward Rosten <=