mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Added use of double colon to style guide.
This commit is contained in:
parent
483b8711df
commit
c58b62e43d
1 changed files with 2 additions and 0 deletions
|
|
@ -72,6 +72,8 @@ Do not use old-style character/array length (e.g. character*80, real*8).
|
|||
Integer values being used to indicate a certain state should be defined as named
|
||||
constants (see the constants.F90 module for many examples).
|
||||
|
||||
Always use a double colon :: when declaring a variable.
|
||||
|
||||
Yes:
|
||||
|
||||
.. code-block:: fortran
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue