mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Add missing include
std::copy_n is defined in <algorithm>, which is not explicitly included and therefore causes compilation errors with the recent GCC 14.1 and/or CUDA 12.4.1. Change-Id: I9fcab48770ccfc5ec195dca5a190ceaad9debe81
This commit is contained in:
@@ -34,6 +34,9 @@
|
||||
#include "ceres/internal/config.h"
|
||||
|
||||
#ifndef CERES_NO_CUDA
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "ceres/cuda_buffer.h"
|
||||
|
||||
namespace ceres::internal {
|
||||
|
||||
Reference in New Issue
Block a user