Commit d3c57ee49644d1a162db85e8ff5ac3ac7a95d251
1 parent
c00e8226
Bug fix with linspace
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/core/common.cpp
| ... | ... | @@ -64,7 +64,7 @@ QList<int> Common::RandSample(int n, const QSet<int> &values, bool unique) |
| 64 | 64 | return samples; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | -QList<float> linspace(float start, float stop, int n) { | |
| 67 | +QList<float> Common::linspace(float start, float stop, int n) { | |
| 68 | 68 | float delta = (stop - start) / (n - 1); |
| 69 | 69 | float curValue = start; |
| 70 | 70 | QList<float> spaced; | ... | ... |