Skip to content

Commit

Permalink
remoev comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dorchard committed Sep 3, 2024
1 parent 31a3e06 commit 2240b9d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Language/Fortran/Repr/Value/Machine.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ fromConstInt (MkFScalarValue (FSVInt a)) = Just $ withFInt a
fromConstInt _ = Nothing

fromConstReal :: FValue -> Maybe Double
-- convert Float to Double
fromConstReal (MkFScalarValue (FSVReal (FReal4 a))) = Just $ floatToDouble a

Check warning on line 29 in src/Language/Fortran/Repr/Value/Machine.hs

View workflow job for this annotation

GitHub Actions / Ubuntu / GHC 9.0, Cabal / test

Pattern match(es) are non-exhaustive

Check warning on line 29 in src/Language/Fortran/Repr/Value/Machine.hs

View workflow job for this annotation

GitHub Actions / Ubuntu / GHC 9.4, Cabal / test

Pattern match(es) are non-exhaustive
where
floatToDouble :: Float -> Double
Expand Down

0 comments on commit 2240b9d

Please sign in to comment.