Permalink
Browse files

Fixed socatt

  • Loading branch information...
1 parent ae43790 commit 36802f2169589d90325c9d37cefd96933f37e219 @casperwberg casperwberg committed Feb 7, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 admb_examples/Makefile
  2. +1 −1 tmb_examples/socatt.R
View
@@ -1,4 +1,4 @@
-examples=nmix mvrw spatial sdv_multi thetalog orange_big
+examples=nmix mvrw spatial thetalog socatt sdv_multi orange_big
outputfiles = $(examples:=.output.RData)
all: $(outputfiles)
%.output.RData :
View
@@ -17,7 +17,7 @@ dyn.load("socatt.so")
data <- list(y=d$y,S=d$S,X=d$X,group=group)
parameters <- list(
- u=rep(0,length(group)),
+ u=rep(0,nlevels(group)),
b=rep(0,d$p),
logsigma=1,
tmpk=rep(0,d$S-1)

0 comments on commit 36802f2

Please sign in to comment.