Skip to content

Instantly share code, notes, and snippets.

View rcurtin's full-sized avatar
💭
breathing

Ryan Curtin rcurtin

💭
breathing
View GitHub Profile
From bfa81f3c3b98b1f8bc5e04400ce4b9562b3058de Mon Sep 17 00:00:00 2001
From: Ryan Curtin <ryan@ratml.org>
Date: Mon, 14 Nov 2022 16:46:50 -0500
Subject: [PATCH] Add a patch that will hopefully help MSVC debugging.
---
src/mlpack/base.hpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mlpack/base.hpp b/src/mlpack/base.hpp
From 098accd64e3edcc0eaa331f21c3c9ec7c377b0ba Mon Sep 17 00:00:00 2001
From: Ryan Curtin <ryan@ratml.org>
Date: Wed, 13 Apr 2022 22:55:08 +0000
Subject: [PATCH 2/2] Other small fixes.
---
CMake/TestStaticSTB.cmake | 2 --
CMake/stb/main.cpp | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
From 7a1f7862d2d9521a92ba48628b7d24b985a83b8e Mon Sep 17 00:00:00 2001
From: Ryan Curtin <ryan@ratml.org>
Date: Wed, 13 Apr 2022 18:49:54 -0400
Subject: [PATCH 1/2] Debug static STB tests and update messages.
---
CMake/TestForSTB.cmake | 37 --------------------------------
CMake/TestStaticSTB.cmake | 44 +++++++++++++++++++++++++++++++++++++++
CMake/stb/CMakeLists.txt | 21 -------------------
CMake/stb/a.cpp | 15 +++++++++++++
From f24858c3e1cbf6d1cad40738b4a5626b0ed585e2 Mon Sep 17 00:00:00 2001
From: Ryan Curtin <ryan@ratml.org>
Date: Fri, 21 Jan 2022 12:51:49 -0500
Subject: [PATCH] Refactor STB inclusion.
---
src/mlpack/core/data/image_info.hpp | 13 +++++
src/mlpack/core/data/image_info_impl.hpp | 10 +---
src/mlpack/core/data/load_image.hpp | 10 ++++
src/mlpack/core/data/load_image_impl.hpp | 61 ++++++++++--------------
diff --git a/src/mlpack/core/data/image_info_impl.hpp b/src/mlpack/core/data/image_info_impl.hpp
index 3040a38415..ea14d6de6c 100644
--- a/src/mlpack/core/data/image_info_impl.hpp
+++ b/src/mlpack/core/data/image_info_impl.hpp
@@ -13,6 +13,24 @@
#ifndef MLPACK_CORE_DATA_IMAGE_INFO_IMPL_HPP
#define MLPACK_CORE_DATA_IMAGE_INFO_IMPL_HPP
+namespace mlpack {
+namespace data {
syntax on
colorscheme koehler
set softtabstop=2
set expandtab
set shiftwidth=2
set textwidth=80
imap <C-d> <C-[>diwi
From d7eea6d72b97691c6d6876e82c82c57557b94a04 Mon Sep 17 00:00:00 2001
From: Ryan Curtin <ryan@ratml.org>
Date: Mon, 12 Jul 2021 15:49:06 -0400
Subject: [PATCH] Squashed commit of the following:
commit 22ceb4742b9e8bbb774072339e0555b3b200f286
Author: Ryan Curtin <ryan@ratml.org>
Date: Mon Jul 12 15:48:08 2021 -0400
Clean up and comment.
From 1f97e8f8fd83234404c7618036763c1ee9405727 Mon Sep 17 00:00:00 2001
From: Ryan Curtin <ryan@ratml.org>
Date: Tue, 13 Apr 2021 08:58:06 -0400
Subject: [PATCH] Use forward iteration through std::map<>s to avoid strange
arm64 bug(?).
---
.../tree/cover_tree/dual_tree_traverser.hpp | 8 +--
.../cover_tree/dual_tree_traverser_impl.hpp | 62 +++++++++----------
.../cover_tree/single_tree_traverser_impl.hpp | 18 +++---
Package: mlpack
Title: 'Rcpp' Integration for the 'mlpack' Library
Version: 3.4.2
Date: 2020-12-07
Authors@R: c(
person("Yashwant", "Singh Parihar", email = "yashwantsingh.sngh@gmail.com", role = c("aut", "ctb", "cph")),
person("Ryan", "Curtin", email = "ryan@ratml.org", role = c("aut", "ctb", "cph", "cre")),
person("Dirk", "Eddelbuettel", email = "edd@debian.org", role = c("aut", "ctb", "cph")),
person("James", "Balamuta", email = "james.balamuta@gmail.com", role = c("aut", "ctb", "cph")),
person("Ryan", "Curtin", email = "ryan@ratml.org", role = c("ctb", "cph")),
Package: mlpack
Title: 'Rcpp' Integration for the 'mlpack' Library
Version: 3.4.3
Date: 2020-12-07
Authors@R:
c(
person("Yashwant", "Singh Parihar", email = "yashwantsingh.sngh@gmail.com", role = c("aut", "ctb", "cph")),
person("Ryan", "Curtin", email = "ryan@ratml.org", role = c("aut", "ctb", "cph", "cre"),
person("Dirk", "Eddelbuettel", email = "edd@debian.org", role = c("aut", "ctb", "cph")),
person("James", "Balamuta", email = "james.balamuta@gmail.com", role = c("aut", "ctb", "cph")),