Skip to content

Commit

Permalink
build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Jan 13, 2024
1 parent 318062f commit 5a1604c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .goki/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name = "axon"
ID = "com.axon.v2"
ID = "com.emer.axon"
Desc = ""
Version = "v2.0.0-dev0.0.4"
Type = "Library"
Expand Down
2 changes: 1 addition & 1 deletion examples/dls/armaze/gui.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ func (vw *GUI) ConfigWorldGUI(ev *Env) *gi.Body {
giv.NewFuncButton(tb, vw.Forward).SetText("Fwd").SetIcon(icons.SkipNext)
giv.NewFuncButton(tb, vw.Left).SetText("Left").SetIcon(icons.KeyboardArrowLeft)
giv.NewFuncButton(tb, vw.Right).SetText("Right").SetIcon(icons.KeyboardArrowRight)
giv.NewFuncButton(tb, vw.Right).SetText("Consume").SetIcon(icons.FoodBank)
giv.NewFuncButton(tb, vw.Consume).SetText("Consume").SetIcon(icons.SentimentExcited)

gi.NewSeparator(tb)
})
Expand Down
3 changes: 2 additions & 1 deletion examples/pvlv/pvlv.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/emer/etable/v2/split"
"goki.dev/events"
"goki.dev/gi"
"goki.dev/laser"
"goki.dev/mat32"
)

Expand Down Expand Up @@ -366,7 +367,7 @@ func (ss *Sim) ApplyInputs() {
for _, lnm := range lays {
ly := ss.Net.AxonLayerByName(lnm)
pats := ev.State(ly.Nm)
if !laser.IfaceIsNil(pats) {
if !laser.AnyIsNil(pats) {

Check warning on line 370 in examples/pvlv/pvlv.go

View check run for this annotation

Codecov / codecov/patch

examples/pvlv/pvlv.go#L370

Added line #L370 was not covered by tests
ly.ApplyExt(ctx, 0, pats)
}
switch lnm {
Expand Down

0 comments on commit 5a1604c

Please sign in to comment.