Skip to content

Commit

Permalink
Merge pull request #74 from jdegraaf/3.1
Browse files Browse the repository at this point in the history
Fixes previous commit with regards to the print_interpolated_velocities
  • Loading branch information
Olaf Lenz committed Mar 8, 2013
2 parents fc6b34b + d0a2412 commit 85a75ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tcl/lb_tcl.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void lbnode_tcl_print_usage(Tcl_Interp *interp) {

/** TCL Interface: The \ref lbfluid command. */
#endif
#ifdef LB
#ifdef defined (LB) || defined (LB_GPU)
int tclcommand_lbfluid_print_interpolated_velocity(Tcl_Interp *interp, int argc, char **argv);
#endif
int tclcommand_lbfluid(ClientData data, Tcl_Interp *interp, int argc, char **argv) {
Expand Down Expand Up @@ -584,7 +584,7 @@ int tclcommand_lbnode(ClientData data, Tcl_Interp *interp, int argc, char **argv
}

int tclcommand_lbfluid_print_interpolated_velocity(Tcl_Interp *interp, int argc, char **argv) {
#ifdef LB
#ifdef defined (LB) || defined (LB_GPU)
double p[3], v[3];
char buffer[3*TCL_DOUBLE_SPACE+3];
if (argc!=3) {
Expand Down

0 comments on commit 85a75ac

Please sign in to comment.