JuliaReinforcementLearning / ReinforcementLearningAnIntroduction.jl

Julia code for the book Reinforcement Learning An Introduction
https://juliareinforcementlearning.org/ReinforcementLearningAnIntroduction.jl/
MIT License
309 stars 58 forks source link

Chapter05 - Multiple definitions for struct #42

Closed kir0ul closed 3 years ago

kir0ul commented 3 years ago

Hello,

I get the following Multiple definitions errors with Julia 1.6.1 and Pluto v0.14.7 on both Chapter05 notebooks:

image image

findmyway commented 3 years ago

A quick fix is to wrap the definition and construction into one cell and wrap them with begin … end (I haven't used Pluto recently so things might have been changed in recent version)

发自我的iPhone

------------------ Original ------------------ From: kir0ul @.> Date: Wed,Jun 16,2021 0:47 PM To: JuliaReinforcementLearning/ReinforcementLearningAnIntroduction.jl @.> Cc: Subscribed @.***> Subject: Re: [JuliaReinforcementLearning/ReinforcementLearningAnIntroduction.jl] Chapter05 - Multiple definitions for struct (#42)

Hello,

I get the following Multiple definitions errors with Julia 1.6.1 and Pluto v0.14.7 on both Chapter05 notebooks:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.