Skip to content

Make Demo in tests fails #28

@parthshah31

Description

@parthshah31

make demo in the Tests/ folder fails with this issue.

Penrose.hs:105:41: error:
    • Couldn't match type ‘Double’ with ‘Int’
      Expected type: Int
        Actual type: PDFFloat
    • In the third argument of ‘PDFRect’, namely ‘(1.5 * width)’
      In the first argument of ‘Just’, namely
        ‘(PDFRect 0 0 (1.5 * width) width)’
      In the first argument of ‘addPage’, namely
        ‘(Just (PDFRect 0 0 (1.5 * width) width))’
    |
105 |     page <- addPage (Just (PDFRect 0 0 (1.5*width) width))
    |                                         ^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions