Commit ac4ddc93 authored by Chris Jewell's avatar Chris Jewell
Browse files

Fix to badly behaved isFiniteInteger function which was unlisting matrices.

parent 60ca9127
......@@ -9,7 +9,9 @@
isFiniteInteger = function(x)
{
is.finite(x) & isTRUE(all.equal(x, as.integer(x)))
int = x
mode(x) = 'integer'
is.finite(x) & isTRUE(all.equal(x, int))
}
isFiniteLogical = function(x)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment