MCPcopy Create free account
hub / github.com/ceres-solver/ceres-solver / CheckForNoAliasing

Function CheckForNoAliasing

internal/ceres/problem_impl.cc:74–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void CheckForNoAliasing(double* existing_block,
75 int existing_block_size,
76 double* new_block,
77 int new_block_size) {
78 CHECK(!RegionsAlias(
79 existing_block, existing_block_size, new_block, new_block_size))
80 << "Aliasing detected between existing parameter block at memory "
81 << "location " << existing_block << " and has size "
82 << existing_block_size << " with new parameter "
83 << "block that has memory address " << new_block << " and would have "
84 << "size " << new_block_size << ".";
85}
86
87template <typename KeyType>
88void DecrementValueOrDeleteKey(const KeyType key,

Callers 1

Calls 1

RegionsAliasFunction · 0.85

Tested by

no test coverage detected