Commit ce8d439
BUG: Fix duplicate SWIG template instantiation in StructureTensor wrapping
The VariableSizeMatrix Image wrapping iterated over WRAP_ITK_REAL types
but always used double for the matrix element type, producing multiple
names for the same underlying type. SWIG -Werror turned the resulting
Warning 404 (duplicate template instantiation) into a build failure.
Remove the redundant foreach(t) loop for Image and ImageSource
wrappings where the type is always VariableSizeMatrix<double>,
and use consistent template names across all related wrappings.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b15d79d commit ce8d439
1 file changed
+6
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 5 | + | |
| 6 | + | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 12 | + | |
| 13 | + | |
18 | 14 | | |
19 | 15 | | |
20 | 16 | | |
| |||
29 | 25 | | |
30 | 26 | | |
31 | 27 | | |
32 | | - | |
| 28 | + | |
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
| |||
38 | 34 | | |
39 | 35 | | |
40 | 36 | | |
41 | | - | |
| 37 | + | |
42 | 38 | | |
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
46 | | - | |
0 commit comments