mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Maintain default values in Pos/Dir struct.
This commit is contained in:
parent
b3dd1f5751
commit
c975644d4e
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ struct Position {
|
|||
}
|
||||
|
||||
// Data members
|
||||
union{ double xyz[3]; struct{ double x,y,z; }; };
|
||||
union{ double xyz[3]; struct{ double x,y,z = 0.0; }; };
|
||||
};
|
||||
|
||||
// Binary operators
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue