Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/HandleGlobalBuildFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if(MSVC AND GTSAM_SHARED_LIB)
endif()

if (APPLE AND GTSAM_SHARED_LIB)
# Set the default install directory on macOS
# Setting to @rpath so that dependent executables can find the GTSAM dylib in a portable manner
set(CMAKE_INSTALL_NAME_DIR "@rpath")
endif()

Expand Down
2 changes: 1 addition & 1 deletion gtsam/constrained/NonlinearEqualityConstraint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Vector NonlinearEqualityConstraints::violationVector(const Values& values, bool
size_t start_idx = 0;
for (const auto& constraint : *this) {
size_t dim = constraint->dim();
violation.middleCols(start_idx, dim) =
violation.segment(start_idx, dim) =
whiten ? constraint->whitenedError(values) : constraint->unwhitenedError(values);
start_idx += dim;
}
Expand Down
Loading