Commit 79b9244
committed
STYLE: Address Greptile review on PrincipalComponentsAnalysis
itkVectorFieldPCA.h: in-class-initialize the GaussianDistanceKernel
members so Evaluate() before SetKernelSigma() is well-defined; drop
the unused m_VertexCount member that was never assigned.
itkVectorFieldPCA.hxx: drop the redundant inner if(m_PointSet) check
— control reaches it only after the preceding if(!m_PointSet) throw.
Remove the m_VertexCount line from PrintSelf().
itkVectorKernelPCATest.cxx: drop the duplicated vnl_vector.h include
and the unused debugOut std::ofstream.1 parent c51445a commit 79b9244
3 files changed
Lines changed: 6 additions & 16 deletions
File tree
- Modules/Numerics/PrincipalComponentsAnalysis
- include
- test
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
| 100 | + | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
231 | 230 | | |
232 | 231 | | |
233 | 232 | | |
| |||
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
| 101 | + | |
| 102 | + | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 104 | + | |
| 105 | + | |
110 | 106 | | |
111 | 107 | | |
112 | 108 | | |
| |||
323 | 319 | | |
324 | 320 | | |
325 | 321 | | |
326 | | - | |
327 | 322 | | |
328 | 323 | | |
329 | 324 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
192 | 191 | | |
193 | 192 | | |
194 | 193 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | 194 | | |
199 | 195 | | |
200 | 196 | | |
| |||
0 commit comments