From 6f4137cabbc16fa616e823db3d1b2cf90c03e5c9 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Mon, 1 Feb 2010 08:41:08 +0000 Subject: internal idim irows icols --- lib/Numeric/LinearAlgebra/Instances.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Numeric/LinearAlgebra/Instances.hs') diff --git a/lib/Numeric/LinearAlgebra/Instances.hs b/lib/Numeric/LinearAlgebra/Instances.hs index ffc4f17..1f8b5a0 100644 --- a/lib/Numeric/LinearAlgebra/Instances.hs +++ b/lib/Numeric/LinearAlgebra/Instances.hs @@ -203,7 +203,7 @@ instance (Linear Vector a, Floating (Vector a), Fractional (Matrix a)) => Floati --------------------------------------------------------------- instance (Storable a, Num (Vector a)) => Monoid (Vector a) where - mempty = 0 { dim = 0 } + mempty = 0 { idim = 0 } mappend a b = mconcat [a,b] mconcat = j . filter ((>0).dim) where j [] = mempty -- cgit v1.2.3