Re: [Libmesh-devel] Compilation error with --enable-complex

2015-08-12 Thread David Knezevic
On Wed, Aug 12, 2015 at 11:19 AM, Roy Stogner wrote: > > On Wed, 12 Aug 2015, David Knezevic wrote: > > The patch below fixes the compilation errors for me. >> > > Thanks! Put it in a branch + PR? > Will do. > I'm pulling my hair out trying to figure out why > > Gradient g(0); // is working

Re: [Libmesh-devel] Compilation error with --enable-complex

2015-08-12 Thread Roy Stogner
On Wed, 12 Aug 2015, David Knezevic wrote: > The patch below fixes the compilation errors for me. Thanks! Put it in a branch + PR? I'm pulling my hair out trying to figure out why Gradient g(0); // is working but Gradient g = 0; // is not --- Roy

Re: [Libmesh-devel] Compilation error with --enable-complex

2015-08-12 Thread David Knezevic
On Wed, Aug 12, 2015 at 10:23 AM, David Knezevic wrote: > On Wed, Aug 12, 2015 at 10:08 AM, Roy Stogner > wrote: > >> >> On Wed, 12 Aug 2015, David Knezevic wrote: >> >> /home/dknez/software/libmesh-src/src/base/dof_map_constraints.C:827:42: >>> error: conversion from 'int' to non-scalar type 'O

Re: [Libmesh-devel] Compilation error with --enable-complex

2015-08-12 Thread David Knezevic
On Wed, Aug 12, 2015 at 10:08 AM, Roy Stogner wrote: > > On Wed, 12 Aug 2015, David Knezevic wrote: > > /home/dknez/software/libmesh-src/src/base/dof_map_constraints.C:827:42: >> error: conversion from 'int' to non-scalar type 'OutputNumber {aka >> libMesh::VectorValue >}' requested >>

Re: [Libmesh-devel] Compilation error with --enable-complex

2015-08-12 Thread Roy Stogner
On Wed, 12 Aug 2015, David Knezevic wrote: /home/dknez/software/libmesh-src/src/base/dof_map_constraints.C:827:42: error: conversion from 'int' to non-scalar type 'OutputNumber {aka libMesh::VectorValue >}' requested                    OutputNumber fineval = 0; It wasn't obvious to me how to

[Libmesh-devel] Compilation error with --enable-complex

2015-08-12 Thread David Knezevic
There are some compilation errors on the git HEAD when I build with --enable-complex, e.g.: --- /home/dknez/software/libmesh-src/src/base/dof_map_constraints.C: In instantiation of 'void {anonymous}::ConstrainDiri