Commit c00e82262d2e34e66ed1956e4fa738ce23a77e3e
1 parent
a95142bf
linspace bug fix
Showing
1 changed file
with
1 additions
and
0 deletions
openbr/core/common.cpp
| @@ -74,4 +74,5 @@ QList<float> linspace(float start, float stop, int n) { | @@ -74,4 +74,5 @@ QList<float> linspace(float start, float stop, int n) { | ||
| 74 | spaced.append(curValue += delta); | 74 | spaced.append(curValue += delta); |
| 75 | } | 75 | } |
| 76 | spaced.append(stop); | 76 | spaced.append(stop); |
| 77 | + return spaced; | ||
| 77 | } | 78 | } |