Commit 8300f2e
committed
Override NodeElem::volume() to return 1
This does not change the existing behavior, since the base class
Elem::volume() implementation already returned 1 for NodeElems, but it
does document the behavior while also avoiding any overhead that might
have come from calling Elem::volume().1 parent 1e3b671 commit 8300f2e
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
274 | 282 | | |
275 | 283 | | |
276 | 284 | | |
| |||
0 commit comments