Merge pull request #60 from Nickske666/typos

Fixed some typos
This commit is contained in:
Huw Campbell 2018-04-21 09:30:49 +10:00 committed by GitHub
commit 9309b3ba7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ instance Serialize (Pad l t r b) where
put _ = return () put _ = return ()
get = return Pad get = return Pad
-- | A two dimentional image can be padped. -- | A two dimentional image can be padded.
instance ( KnownNat padLeft instance ( KnownNat padLeft
, KnownNat padTop , KnownNat padTop
, KnownNat padRight , KnownNat padRight
@ -79,7 +79,7 @@ instance ( KnownNat padLeft
vs = subMatrix (padt, padl) (nrows, ncols) m vs = subMatrix (padt, padl) (nrows, ncols) m
in ((), S2D . fromJust . create $ vs) in ((), S2D . fromJust . create $ vs)
-- | A two dimentional image can be padped. -- | A two dimentional image can be padded.
instance ( KnownNat padLeft instance ( KnownNat padLeft
, KnownNat padTop , KnownNat padTop
, KnownNat padRight , KnownNat padRight