Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Demo in tests fails #28

Open
parthshah31 opened this issue Mar 24, 2020 · 0 comments
Open

Make Demo in tests fails #28

parthshah31 opened this issue Mar 24, 2020 · 0 comments

Comments

@parthshah31
Copy link

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))
    |                                         ^^^^^^^^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant