1

Closed

Error serializing 'DenseVector'

description

Using the XMLSerializer, I get the following error:

{"Could not deserialize global::MathNet.Numerics.LinearAlgebra.Single.DenseVector. Parameterless constructor is required for collections and enumerators."}
Closed Oct 3, 2013 at 12:16 AM by cdrnet
Tracked at GitHub

comments

alhazen wrote Apr 19, 2012 at 5:54 PM

The parameterless constructor can be private/protected. It will be enough for XML serializer.

cdrnet wrote Oct 3, 2013 at 12:16 AM