Skip to content

Commit

Permalink
Merge branch 'main2.0' into renamingCmakeVars
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoeurjo authored Jan 26, 2025
2 parents 094d5d8 + 15c7c06 commit 485bf32
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/DGtal/base/Bits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
#include "DGtal/base/Bits.h"
///////////////////////////////////////////////////////////////////////////////

#include <iostream>


///////////////////////////////////////////////////////////////////////////////
// class Bits
///////////////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 1 addition & 3 deletions src/DGtal/base/Bits.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@
#define BITS_HPP

#include <string>
#include <algorithm>
#include "DGtal/base/Common.h"
#include "DGtal/base/BasicFunctors.h"
#include "DGtal/base/ExpressionTemplates.h"

namespace DGtal
{
Expand All @@ -57,7 +56,6 @@ namespace DGtal
static std::string bitString(T value, unsigned nbBits = 0)
{
std::string bitStr;
/*functors::Min<unsigned int> min;*/

// if the requested number of bit is 0, use the size of the data type instead
if(nbBits == 0) nbBits = sizeof(T)*8;
Expand Down
3 changes: 2 additions & 1 deletion src/DGtal/base/Trace.ih
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include <iostream>
#include <stack>
#include <cmath>
#include "DGtal/base/Assert.h" // for ASSERT
//////////////////////////////////////////////////////////////////////////////


Expand Down Expand Up @@ -151,7 +152,7 @@ DGtal::Trace::endBlock()
double tick;
Clock *localClock;

ASSERT (myCurrentLevel >0);
ASSERT(myCurrentLevel >0);

localClock = myClockStack.top();
tick = localClock->stopClock();
Expand Down
2 changes: 1 addition & 1 deletion src/DGtal/images/Morton.ih
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

//////////////////////////////////////////////////////////////////////////////
// Inclusions
#include <iostream>
#include "DGtal/base/ExpressionTemplates.h" // for POW
//////////////////////////////////////////////////////////////////////////////

namespace DGtal
Expand Down

0 comments on commit 485bf32

Please sign in to comment.