Skip to content

tutorial error  #291

Open
Open

Description

@Yvonne-Ng

Hi I am using bat 9.4 following the tutorial step3 here:
https://bat.mpp.mpg.de/?page=tutorials&version=0.9&name=cc-cross_section

I use the source code in step3 and compile it sucessfully, but then got an error in marginalization:
'''Summary : Opening logfile log.txt
Summary : Test model created
Summary : Marginalize using Grid
Detail : --> Global mode from Grid:
Detail : --> parameter 0: 33.25
Detail : --> parameter 1: 2.3
Summary : Printing all marginalized distributions (2 x 1D + 1 x 2D = 3) into file plots.ps
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
Aborted (core dumped)'''

Can anyone let me know what's causing this? thanks

Activity

  1. greenwald commented on Apr 30, 2018

    @greenwald
    Contributor

    Hello @Yvonne-Ng ,

    We strongly recommend using the latest release of BAT, which is available here. The latest release is version 1.0.0-RC2. Most problems and annoyances you run into with version 0.9.4 will have been resolved in the newer versions.

    But if you need to use 0.9.4 for your own legacy code reasons, we can help you resolve this issue. If so, please copy here the code you ran that produced that error.

  2. Yvonne-Ng commented on Apr 30, 2018

    @Yvonne-Ng
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions