Skip to content

Commit

Permalink
Fixes build issues on centos5
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelsted committed Jun 30, 2021
1 parent e809f40 commit 6fa0731
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: echo ::set-output name=RELEASE_VERSION::${GITHUB_REF##*/}
- name: Build
run: |
docker run --rm dockbuild/centos7:latest > ./dockbuild \
docker run --rm dockbuild/centos5:latest > ./dockbuild \
&& chmod +x ./dockbuild \
&& ./dockbuild -a "-e RELEASE_OS=$RELEASE_OS -e RELEASE_VERSION=$RELEASE_VERSION" bash -c "make -f Makefile.release build && make -f Makefile.release compile_release_$RELEASE_OS"
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class LbfgsbSolver : public ISolver<TProblem, 1> {
TVector x_old = x;
TVector g_old = g;
// STEP 2: compute the cauchy point
TVector CauchyPoint = TVector::Zero(DIM);
TVector CauchyPoint = Superclass::TVector::Zero(DIM);
VariableTVector c = VariableTVector::Zero(W.cols());
getGeneralizedCauchyPoint(problem, x, g, CauchyPoint, c);
// STEP 3: compute a search direction d_k by the primal method for the sub-problem
Expand Down

0 comments on commit 6fa0731

Please sign in to comment.