Skip to content

Commit

Permalink
chg: removed "using namespace polymake"
Browse files Browse the repository at this point in the history
it wasn't really used, trust me.
  • Loading branch information
Yue Ren committed Aug 15, 2012
1 parent 60cdd55 commit f6c9efd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions callpolymake/polymake_wrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
#include <callgfanlib/bbfan.h>
#include <callgfanlib/bbpolytope.h>

#include <Singular/mod2.h>
#include <Singular/blackbox.h>
#include <Singular/ipshell.h>
#include <Singular/subexpr.h>

using namespace polymake;


polymake::Main* init_polymake=NULL;

static BOOLEAN bbpolytope_Op2(int op, leftv res, leftv i1, leftv i2)
Expand Down Expand Up @@ -1353,7 +1351,7 @@ polymake::Matrix<polymake::Integer> verticesOf(const polymake::perl::Object* p,
polymake::Matrix<polymake::Integer> allrays = p->give("VERTICES");
polymake::Matrix<polymake::Integer> wantedrays;
bool ok = true;
for(Entire<Set<Integer> >::const_iterator i=polymake::entire(*s); !i.at_end(); i++)
for(polymake::Entire<polymake::Set<polymake::Integer> >::const_iterator i=polymake::entire(*s); !i.at_end(); i++)
{
wantedrays = wantedrays / allrays.row(PmInteger2Int(*i,ok));
}
Expand Down

0 comments on commit f6c9efd

Please sign in to comment.