JuliaTeachingCTU / Scientific-Programming-in-Julia

Repository for B0M36SPJ
https://juliateachingctu.github.io/Scientific-Programming-in-Julia/dev/
MIT License
76 stars 12 forks source link

Update lecture.md #82

Closed Kunz-David closed 1 year ago

Kunz-David commented 1 year ago

Adding environment for the following to work:

a = LessVaguePosition(1,2)
a.x = 2

Now it gives:

julia> a = LessVaguePosition(1,2)
ERROR: UndefVarError: LessVaguePosition not defined
Kunz-David commented 1 year ago

I hope I understand this, but I think the a = LessVaguePosition(1,2) is not evaluating correctly.

nmheim commented 1 year ago

@pevnak do you want to take a look at this? :)

pevnak commented 1 year ago

I will check it next week