projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix PR 11119.
[pspp]
/
src
/
vfm.c
diff --git
a/src/vfm.c
b/src/vfm.c
index 49cd4a4ce7a01bccceeec16635a4a1987611beb7..6944df2b7d530f287cc5278a3bc392ae47f4fc4f 100644
(file)
--- a/
src/vfm.c
+++ b/
src/vfm.c
@@
-14,8
+14,8
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#include <config.h>
#include "vfm.h"
#include <config.h>
#include "vfm.h"
@@
-584,7
+584,9
@@
const struct case_sink_class null_sink_class =
struct ccase *
lagged_case (int n_before)
{
struct ccase *
lagged_case (int n_before)
{
- assert (n_before >= 1 && n_before <= n_lag);
+ assert (n_before >= 1 );
+ assert (n_before <= n_lag);
+
if (n_before <= lag_count)
{
int index = lag_head - n_before;
if (n_before <= lag_count)
{
int index = lag_head - n_before;