[caffe-contrib] 294/362: patch: fix spelling error

Zhou Mo cdluminate-guest at moszumanska.debian.org
Tue May 3 09:24:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

cdluminate-guest pushed a commit to branch master
in repository caffe-contrib.

commit f7700412efd744fb915ec02df4c0e087d998596e
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Wed Mar 9 08:36:40 2016 +0000

    patch: fix spelling error
---
 debian/patches/fix-spelling-error | 11 +++++++++++
 debian/patches/series             |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/fix-spelling-error b/debian/patches/fix-spelling-error
new file mode 100644
index 0000000..5f5da09
--- /dev/null
+++ b/debian/patches/fix-spelling-error
@@ -0,0 +1,11 @@
+--- a/src/caffe/layers/memory_data_layer.cpp
++++ b/src/caffe/layers/memory_data_layer.cpp
+@@ -107,7 +107,7 @@
+ template <typename Dtype>
+ void MemoryDataLayer<Dtype>::Forward_cpu(const vector<Blob<Dtype>*>& bottom,
+       const vector<Blob<Dtype>*>& top) {
+-  CHECK(data_) << "MemoryDataLayer needs to be initalized by calling Reset";
++  CHECK(data_) << "MemoryDataLayer needs to be initialized by calling Reset";
+   top[0]->Reshape(batch_size_, channels_, height_, width_);
+   top[1]->Reshape(batch_size_, 1, 1, 1);
+   top[0]->set_cpu_data(data_ + pos_ * size_);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0ed6b03
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-spelling-error

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe-contrib.git



More information about the debian-science-commits mailing list