Skip to content

Commit

Permalink
add missing fall through case
Browse files Browse the repository at this point in the history
  • Loading branch information
dorchard committed Sep 4, 2024
1 parent 2240b9d commit 5bd841f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Language/Fortran/Repr/Value/Machine.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ fromConstReal (MkFScalarValue (FSVReal (FReal4 a))) = Just $ floatToDouble a
floatToDouble :: Float -> Double
floatToDouble = realToFrac
fromConstReal (MkFScalarValue (FSVReal (FReal8 a))) = Just $ a
fromConstReal _ = Nothing

0 comments on commit 5bd841f

Please sign in to comment.