This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/veusz/helpers/src/qtloops/polylineclip.cpp b/veusz/helpers/src/qtloops/polylineclip.cpp | |
index ae5b8edb..3cfe5fbe 100644 | |
--- a/veusz/helpers/src/qtloops/polylineclip.cpp | |
+++ b/veusz/helpers/src/qtloops/polylineclip.cpp | |
@@ -382,7 +382,7 @@ bool doPolygonsIntersect(const QPolygonF& a, const QPolygonF& b) | |
{ | |
for(auto const& poly : {a, b}) | |
{ | |
- QPointF prevpt(poly.constLast()); | |
+ QPointF prevpt(poly.last()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <xsTypes.h> | |
#include <XSFunctions/Utilities/FunctionUtility.h> | |
#include <XSUtil/Utils/XSstream.h> | |
#include <XSstreams.h> | |
#include <cmath> | |
#include <iostream> | |
#include <cstdlib> | |
#include <sstream> | |
#include <valarray> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
from PyQt5.QtCore import * | |
from PyQt5.QtGui import * | |
from PyQt5.QtWidgets import * | |
class Win(QWidget): | |
def paintEvent(self, event): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: Jeremy Sanders <[email protected]> | |
Subject: Fix test on i386 and other platforms without numpy.float128 | |
Index: debian-iminuit/tests/test_cost.py | |
=================================================================== | |
--- debian-iminuit.orig/tests/test_cost.py | |
+++ debian-iminuit/tests/test_cost.py | |
@@ -709,7 +709,7 @@ def test_NormalConstraint_properties(): | |
assert_equal(nc.covariance, (1, 2)) | |