Identity: Added conversion to label
This commit is contained in:
parent
22b2e397b2
commit
feada18b40
1 changed files with 6 additions and 0 deletions
|
|
@ -76,6 +76,12 @@ public:
|
|||
return dual();
|
||||
}
|
||||
|
||||
//- Return 1 for label
|
||||
inline operator label() const
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
//- Return 1 for scalar
|
||||
inline operator scalar() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue