Skip to content

Commit

Permalink
Merge pull request #1236 from Jehops/v2.5.20_build_error
Browse files Browse the repository at this point in the history
Fix v2.5.20 build error (cannot convert std::nullptr_t to hyFloat)
  • Loading branch information
spond authored Oct 20, 2020
2 parents 9c4c27d + 5742860 commit f12276c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2236,7 +2236,7 @@ bool _Matrix::IncreaseStorage (void) {
} else {
theData = (hyFloat*) MemReallocate(theData, lDim*sizeof(void*));
for (long i = lDim-allocationBlock; i < lDim; i++) {
theData [i] = ZEROPOINTER;
theData [i] = ZEROOBJECT;
}
}
} else {
Expand Down

1 comment on commit f12276c

@kjlevitz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Benchmark.js Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: f12276c Previous: 9c4c27d Ratio
SLAC-partitioned.wbf Infinity secs/op (±0.000000%) 14.446274305856518 secs/op (±0.979894%) Infinity

This comment was automatically generated by workflow using github-action-benchmark.

CC: @klevitz

Please sign in to comment.