You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module simple_function
contains
function get_lightspeed()
! get speed of light in a vacuum
integer :: get_lightspeed
integer :: lightspeed = 299792458 ! m/s
get_lightspeed = lightspeed
end
end
units-suggest doesn't suggest anything:
$ camfort units-suggest simple-function.f90 -l 'poly'
Suggesting variables to annotate with unit specifications in 'simple-function.f90'
Successfully parsed 0 summary file(s).
Finished running unit critical variable analysis on input 'simple-function.f90' ...
Logs:
Result... OK:
simple-function.f90: No additional annotations are necessary.
The text was updated successfully, but these errors were encountered:
Given a simple function with no inputs:
units-suggest doesn't suggest anything:
The text was updated successfully, but these errors were encountered: