Skip to content
Snippets Groups Projects
Commit 4f751648 authored by Antoine Lucas's avatar Antoine Lucas
Browse files

fix clang warnings

parent 4d7a3d6f
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ namespace bigrationalR
if (TYPEOF(denAttr) != NILSXP)
{
bigvec_q attrib = bigrationalR::create_vector(denAttr);
if (!attrib.size() == 0) // sanity check
if (attrib.size() != 0) // sanity check
for (unsigned int i = 0; i < v.size(); ++i)
{
if( attrib[i%attrib.size()].sgn() != 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment