Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/dmlc/ps-lite
Browse files Browse the repository at this point in the history
Conflicts:
	src/system/manager.cc
  • Loading branch information
Mu Li committed May 27, 2015
2 parents 9b132cb + e8e22f0 commit 4bf6ead
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 485 deletions.
5 changes: 3 additions & 2 deletions src/base/range.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#pragma once
#include <limits>
#include "proto/range.pb.h"
#include "glog/logging.h"

Expand Down Expand Up @@ -90,8 +91,8 @@ class Range {
}

static Range All() {
CHECK_GT((T)-1, 0) << "it is a not unsigned integer";
return Range(0, (T)-1);
return Range(std::numeric_limits<T>::min(),
std::numeric_limits<T>::max());
}
private:
T begin_;
Expand Down
34 changes: 0 additions & 34 deletions src/system/assigner.cc

This file was deleted.

130 changes: 0 additions & 130 deletions src/system/dashboard.cc

This file was deleted.

24 changes: 0 additions & 24 deletions src/system/dashboard.h

This file was deleted.

163 changes: 0 additions & 163 deletions src/system/heartbeat_info.cc

This file was deleted.

Loading

0 comments on commit 4bf6ead

Please sign in to comment.