Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
556028ef
Commit
556028ef
authored
Aug 15, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Aug 15, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1253 from kamjagin:fixingCompilationOnOSX
parents
d09c89c6
ed29d91d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
cvdef.h
modules/core/include/opencv2/core/cvdef.h
+2
-0
motion_estimators.cpp
modules/stitching/src/motion_estimators.cpp
+2
-8
No files found.
modules/core/include/opencv2/core/cvdef.h
View file @
556028ef
...
...
@@ -201,8 +201,10 @@
#if !defined _MSC_VER && !defined __BORLANDC__
# if defined __cplusplus && __cplusplus >= 201103L
# include <cstdint>
typedef
std
::
uint32_t
uint
;
# else
# include <stdint.h>
typedef
uint32_t
uint
;
# endif
#else
typedef
unsigned
uint
;
...
...
modules/stitching/src/motion_estimators.cpp
View file @
556028ef
...
...
@@ -42,13 +42,7 @@
#include "precomp.hpp"
#include "opencv2/calib3d/calib3d_c.h"
#ifdef _MSC_VER
#include <float.h>
#define isnan(x) _isnan(x)
#else
#include <math.h>
#endif
#include "opencv2/core/cvdef.h"
using
namespace
cv
;
using
namespace
cv
::
detail
;
...
...
@@ -259,7 +253,7 @@ bool BundleAdjusterBase::estimate(const std::vector<ImageFeatures> &features,
bool
ok
=
true
;
for
(
int
i
=
0
;
i
<
cam_params_
.
rows
;
++
i
)
{
if
(
isnan
(
cam_params_
.
at
<
double
>
(
i
,
0
)))
if
(
cvIsNaN
(
cam_params_
.
at
<
double
>
(
i
,
0
)))
{
ok
=
false
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment