Commit 22ba3f1
committed
Skip multiplication for layer type
The layer type is a string and should not be multiplied.
Originally, the multiplication worked fine, because the multiplier
was an integer of 1, and doing things like `'sample' * 1` results in
`'sample'` - just the string.
However, we changed the multiplier to a float in the type annotations
PR, and we can't multiply a float with a string, so we would get
an error.
This fixes the code so the layer type string does not get multiplied
at all.
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>1 parent 37eec4e commit 22ba3f1
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
196 | 199 | | |
197 | 200 | | |
198 | 201 | | |
| |||
0 commit comments