The Reader does not check the type of variables that are passed to it via Reader::AddVariable.
This is unfortunate since the reader seems to expect float variables, even if in the training the variable was passed to the factory as an integer (This needs still to be verified).
The documentation in the user's guide is not very helpful here. Code example 23 (page 33) suggests that it is o.k. to pass integers to the reader.